forked from mirrors/nixpkgs
openfortivpn: fix pppd location after 0.8.0 upgrade
This commit is contained in:
parent
5aeaedc6e4
commit
0a27d6dddb
|
@ -20,9 +20,7 @@ in stdenv.mkDerivation {
|
|||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=unused-function";
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace src/tunnel.c --replace "/usr/sbin/pppd" "${ppp}/bin/pppd"
|
||||
'';
|
||||
configureFlags = [ "--with-pppd=${ppp}/bin/pppd" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue