uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
21
pkgs/servers/web-apps/netbox/graphql-3_2_0.patch
Normal file
21
pkgs/servers/web-apps/netbox/graphql-3_2_0.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
diff --git a/netbox/netbox/graphql/scalars.py b/netbox/netbox/graphql/scalars.py
|
||||
index 7d14189dd..0a18e79d2 100644
|
||||
--- a/netbox/netbox/graphql/scalars.py
|
||||
+++ b/netbox/netbox/graphql/scalars.py
|
||||
@@ -1,6 +1,6 @@
|
||||
from graphene import Scalar
|
||||
from graphql.language import ast
|
||||
-from graphql.type.scalars import MAX_INT, MIN_INT
|
||||
+from graphql.type.scalars import GRAPHQL_MAX_INT, GRAPHQL_MIN_INT
|
||||
|
||||
|
||||
class BigInt(Scalar):
|
||||
@@ -10,7 +10,7 @@ class BigInt(Scalar):
|
||||
@staticmethod
|
||||
def to_float(value):
|
||||
num = int(value)
|
||||
- if num > MAX_INT or num < MIN_INT:
|
||||
+ if num > GRAPHQL_MAX_INT or num < GRAPHQL_MIN_INT:
|
||||
return float(num)
|
||||
return num
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue