1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

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

View file

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