Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Add ability to use pppd to xl2tpd

+5 -1
+5 -1
pkgs/tools/networking/xl2tpd/default.nix
··· 1 - { stdenv, fetchFromGitHub, libpcap }: 1 + { stdenv, fetchFromGitHub, libpcap, ppp }: 2 2 3 3 let version = "1.3.6"; 4 4 in stdenv.mkDerivation { ··· 12 12 }; 13 13 14 14 buildInputs = [ libpcap ]; 15 + 16 + postPatch = '' 17 + substituteInPlace l2tp.h --replace /usr/sbin/pppd ${ppp}/sbin/pppd 18 + ''; 15 19 16 20 makeFlags = [ "PREFIX=$(out)" ]; 17 21