network-manager/l2tp: add workaround for https://github.com/xelerance/xl2tpd/issues/108
This commit is contained in:
parent
cbb0effa6e
commit
c8d3b166f5
@ -33,6 +33,11 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Workaround https://github.com/xelerance/xl2tpd/issues/108
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace ./src/nm-l2tp-service.c --replace 'write_config_option (pppopt_fd, "lock\n");' ""
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "L2TP plugin for NetworkManager";
|
description = "L2TP plugin for NetworkManager";
|
||||||
inherit (networkmanager.meta) platforms;
|
inherit (networkmanager.meta) platforms;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user