network-manager/l2tp: add workaround for https://github.com/xelerance/xl2tpd/issues/108
This commit is contained in:
parent
cbb0effa6e
commit
c8d3b166f5
1 changed files with 5 additions and 0 deletions
|
@ -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; {
|
||||
description = "L2TP plugin for NetworkManager";
|
||||
inherit (networkmanager.meta) platforms;
|
||||
|
|
Loading…
Reference in a new issue