mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
iodined: Fix iptables and route path to bin instead of sbin
This commit is contained in:
parent
cd531d70f6
commit
018b39d28b
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
patchPhase = ''sed -i "s,/sbin/ifconfig,${nettools}/sbin/ifconfig,; s,/sbin/route,${nettools}/sbin/route," src/tun.c'';
|
||||
patchPhase = ''sed -i "s,/sbin/ifconfig,${nettools}/bin/ifconfig,; s,/sbin/route,${nettools}/bin/route," src/tun.c'';
|
||||
|
||||
installFlags = "prefix=\${out}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user