Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1--- a/src/nm-openconnect-service.c 2+++ b/src/nm-openconnect-service.c 3@@ -60,7 +60,7 @@ 4 5 static const char *openconnect_binary_paths[] = 6 { 7- "/usr/bin/openconnect", 8+ "@openconnect@/bin/openconnect", 9 "/usr/sbin/openconnect", 10 "/usr/local/bin/openconnect", 11 "/usr/local/sbin/openconnect", 12@@ -734,7 +734,7 @@ 13 14 _LOGD ("nm-openconnect-service (version " DIST_VERSION ") starting..."); 15 16- if (system ("/sbin/modprobe tun") == -1) 17+ if (system ("@kmod@/bin/modprobe tun") == -1) 18 exit (EXIT_FAILURE); 19 20 if (bus_name)