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:
Bjørn Forsman 2014-01-25 13:30:56 +01:00
parent a1f7094b98
commit 958d6636a7

View File

@ -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"
'';