about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/nftables/fix-py-libnftables.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/nftables/fix-py-libnftables.patch')
-rw-r--r--pkgs/os-specific/linux/nftables/fix-py-libnftables.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/nftables/fix-py-libnftables.patch b/pkgs/os-specific/linux/nftables/fix-py-libnftables.patch
new file mode 100644
index 0000000000000..3ab1e5363019a
--- /dev/null
+++ b/pkgs/os-specific/linux/nftables/fix-py-libnftables.patch
@@ -0,0 +1,13 @@
+diff --git a/py/src/nftables.py b/py/src/nftables.py
+index f1e43ade..9adcd1be 100644
+--- a/py/src/nftables.py
++++ b/py/src/nftables.py
+@@ -69,7 +69,7 @@ class Nftables:
+ 
+     validator = None
+ 
+-    def __init__(self, sofile="libnftables.so.1"):
++    def __init__(self, sofile="@out@/lib/libnftables.so.1"):
+         """Instantiate a new Nftables class object.
+ 
+         Accepts a shared object file to open, by default standard search path