git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #54629 from ecoughlan/openfortivpn-fixes

openfortivpn: fix pppd location after 0.8.0 upgrade

commit940f216241fd731c151b093bb4bf3928dc5ac038 authorJoachim F <joachifm@users.noreply.github.com> dateSat 26 Jan 2019, 17:48 (8 years ago) parent8e985dc0a27d6d
1 file changed+1−3
pkgs/tools/networking/openfortivpn/default.nix+1−3
pkgs/tools/networking/openfortivpn/default.nix+1−3
@@ -20,9 +20,7 @@ in stdenv.mkDerivation {
2020
2121 NIX_CFLAGS_COMPILE = "-Wno-error=unused-function";
2222
23− preConfigure = ''
24− substituteInPlace src/tunnel.c --replace "/usr/sbin/pppd" "${ppp}/bin/pppd"
25− '';
23+ configureFlags = [ "--with-pppd=${ppp}/bin/pppd" ];
2624
2725 enableParallelBuilding = true;
2826