about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorShawn8901 <shawn8901@googlemail.com>2024-05-06 22:46:57 +0200
committerShawn8901 <shawn8901@googlemail.com>2024-05-06 22:46:57 +0200
commite8beca26170633f3b1efd9ed77eb5d6f71878ee3 (patch)
treef07a10cbd5e16ad0fce5be9fb4bc465ad423d9fb /pkgs/os-specific
parentdd4070b45f7c18fba29ce00ff979c19b389350ae (diff)
nftables: fix substituted file location
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/nftables/python.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/nftables/python.nix b/pkgs/os-specific/linux/nftables/python.nix
index 5c5770ebed4a5..7980b8ff6de68 100644
--- a/pkgs/os-specific/linux/nftables/python.nix
+++ b/pkgs/os-specific/linux/nftables/python.nix
@@ -10,7 +10,7 @@ buildPythonPackage {
   pyproject = true;
 
   postPatch = ''
-    substituteInPlace "py/src/nftables.py" \
+    substituteInPlace "src/nftables.py" \
       --replace-fail "libnftables.so.1" "${nftables}/lib/libnftables.so.1"
   '';