Merge pull request #54629 from ecoughlan/openfortivpn-fixes

openfortivpn: fix pppd location after 0.8.0 upgrade
This commit is contained in:
Joachim F
2019-01-26 17:48:20 +00:00
committed by GitHub

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;