Merge pull request #9684 from puffnfresh/fix/iodine

Update iodine's ifconfig path patch
This commit is contained in:
Arseniy Seroka 2015-09-08 05:10:39 +03:00
commit bc24780da4

@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib ];
patchPhase = ''sed -i "s,/sbin/ifconfig,${nettools}/bin/ifconfig,; s,/sbin/route,${nettools}/bin/route," src/tun.c'';
patchPhase = ''sed -i "s,/sbin/route,${nettools}/bin/route," src/tun.c'';
NIX_CFLAGS_COMPILE = "-DIFCONFIGPATH=\"${nettools}/bin/\"";
installFlags = "prefix=\${out}";