3
0
Fork 0
forked from mirrors/nixpkgs

openfortivpn: fix pppd location after 0.8.0 upgrade

This commit is contained in:
Eamonn Coughlan 2019-01-26 17:07:38 +01:00
parent 5aeaedc6e4
commit 0a27d6dddb

View file

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