mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
ppp: enable ipv6 support
networkmanager requires pppd to have ipv6 support for managing mobile connections since version 0.9.5.95, ref. to commit 7575f4d.
This commit is contained in:
parent
823765e305
commit
b39a6ef532
@ -18,7 +18,12 @@ stdenv.mkDerivation rec {
|
||||
./nonpriv.patch
|
||||
];
|
||||
|
||||
postPatch = "rm -v include/linux/if_pppol2tp.h";
|
||||
postPatch = ''
|
||||
# enable ipv6
|
||||
substituteInPlace pppd/Makefile.linux \
|
||||
--replace "#HAVE_INET6=y" "HAVE_INET6=y"
|
||||
rm -v include/linux/if_pppol2tp.h
|
||||
'';
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user