diff options
author | William A. Kennington III <william@wkennington.com> | 2015-04-01 13:57:06 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-04-01 13:57:36 -0700 |
commit | ff2117192105c4c356a6ce31514ca93da2e837ff (patch) | |
tree | 972238049fdef743283dacdab82f6600b8ac3e73 /pkgs/tools | |
parent | a9f2e107d00c9955ef244455ee2aac857276192b (diff) | |
download | nixlib-ff2117192105c4c356a6ce31514ca93da2e837ff.tar nixlib-ff2117192105c4c356a6ce31514ca93da2e837ff.tar.gz nixlib-ff2117192105c4c356a6ce31514ca93da2e837ff.tar.bz2 nixlib-ff2117192105c4c356a6ce31514ca93da2e837ff.tar.lz nixlib-ff2117192105c4c356a6ce31514ca93da2e837ff.tar.xz nixlib-ff2117192105c4c356a6ce31514ca93da2e837ff.tar.zst nixlib-ff2117192105c4c356a6ce31514ca93da2e837ff.zip |
Fix references to current-system/sw/sbin
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/network-manager/nixos-purity.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/networking/network-manager/nixos-purity.patch b/pkgs/tools/networking/network-manager/nixos-purity.patch index 505dd8b2b3c4..831b2010fcfc 100644 --- a/pkgs/tools/networking/network-manager/nixos-purity.patch +++ b/pkgs/tools/networking/network-manager/nixos-purity.patch @@ -47,7 +47,7 @@ index 1dc94ee..e60f3c8 100644 for (iter = modules; *iter; iter++) { - char *argv[3] = { "/sbin/modprobe", *iter, NULL }; -+ char *argv[3] = { "/var/run/current-system/sw/sbin/modprobe", *iter, NULL }; ++ char *argv[3] = { "/var/run/current-system/sw/bin/modprobe", *iter, NULL }; char *envp[1] = { NULL }; GError *error = NULL; @@ -71,7 +71,7 @@ index 59698c3..7dba0f7 100644 /* Make sure /dev/ppp exists (bgo #533064) */ if (stat ("/dev/ppp", &st) || !S_ISCHR (st.st_mode)) - ignored = system ("/sbin/modprobe ppp_generic"); -+ ignored = system ("/var/run/current-system/sw/sbin/modprobe ppp_generic"); ++ ignored = system ("/var/run/current-system/sw/bin/modprobe ppp_generic"); connection = nm_act_request_get_connection (req); g_assert (connection); |