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
@ -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 New Issue
Block a user