iodined: Fix iptables and route path to bin instead of sbin

This commit is contained in:
Jaka Hudoklin 2013-08-05 01:00:34 +02:00
parent cd531d70f6
commit 018b39d28b

View File

@ -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}";