Add ability to use pppd to xl2tpd
This commit is contained in:
parent
b783b69326
commit
50855c7e37
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, libpcap }:
|
||||
{ stdenv, fetchFromGitHub, libpcap, ppp }:
|
||||
|
||||
let version = "1.3.6";
|
||||
in stdenv.mkDerivation {
|
||||
@ -13,6 +13,10 @@ in stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace l2tp.h --replace /usr/sbin/pppd ${ppp}/sbin/pppd
|
||||
'';
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user