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" \
|
substituteInPlace "configure" \
|
||||||
--replace "/sbin/sysctl" "${procps}/sbin/sysctl"
|
--replace "/sbin/sysctl" "${procps}/sbin/sysctl"
|
||||||
substituteInPlace "src/nm-openconnect-service.c" \
|
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"
|
--replace "/sbin/modprobe" "${module_init_tools}/sbin/modprobe"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue