mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
networkmanager: fix path to 'openconnect' binary
Without this the openconnect VPN plugin doesn't work: NetworkManager[830]: <warn> VPN connection 'Foo VPN' failed to connect: 'Could not find openconnect binary.'.
This commit is contained in:
parent
a1f7094b98
commit
958d6636a7
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace "configure" \
|
||||
--replace "/sbin/sysctl" "${procps}/sbin/sysctl"
|
||||
substituteInPlace "src/nm-openconnect-service.c" \
|
||||
--replace "/sbin/openconnect" "${openconnect}/sbin/openconnect" \
|
||||
--replace "/usr/sbin/openconnect" "${openconnect}/sbin/openconnect" \
|
||||
--replace "/sbin/modprobe" "${module_init_tools}/sbin/modprobe"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue