forked from mirrors/nixpkgs
Merge pull request #9684 from puffnfresh/fix/iodine
Update iodine's ifconfig path patch
This commit is contained in:
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}";
|
||||
|
||||
|
|
Loading…
Reference in a new issue