tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
firewalld: fix paths
Sizhe Zhao
9 months ago
3a1c054b
27d754aa
+6
-5
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
fi
firewalld
package.nix
+6
-5
pkgs/by-name/fi/firewalld/package.nix
···
57
58
postPatch =
59
''
60
-
substituteInPlace src/firewall/config/__init__.py.in \
61
-
--replace-fail /usr "$out"
62
63
-
for file in config/firewall-{applet,config}.desktop.in; do
64
-
substituteInPlace $file \
65
-
--replace "/usr/bin/" "$out/bin/"
0
66
done
67
''
68
+ lib.optionalString withGui ''
···
57
58
postPatch =
59
''
60
+
substituteInPlace config/xmlschema/check.sh \
61
+
--replace-fail /usr/bin/ ""
62
63
+
for file in src/{firewall-offline-cmd.in,firewall/config/__init__.py.in} \
64
+
config/firewall-{applet,config}.desktop.in; do
65
+
substituteInPlace $file \
66
+
--replace-fail /usr "$out"
67
done
68
''
69
+ lib.optionalString withGui ''