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 a new issue