summary refs log tree commit diff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-08-23 01:13:49 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-08-23 01:18:10 +0300
commit282277dbc8770552e69ae3f2938ff4a01b750993 (patch)
tree2807246bc6d7cd0be44d03932542a5ff97b9886c /pkgs/tools/networking
parent74a3a2cd7e409062ad3efa61e84d366a8f67c853 (diff)
downloadnixlib-282277dbc8770552e69ae3f2938ff4a01b750993.tar
nixlib-282277dbc8770552e69ae3f2938ff4a01b750993.tar.gz
nixlib-282277dbc8770552e69ae3f2938ff4a01b750993.tar.bz2
nixlib-282277dbc8770552e69ae3f2938ff4a01b750993.tar.lz
nixlib-282277dbc8770552e69ae3f2938ff4a01b750993.tar.xz
nixlib-282277dbc8770552e69ae3f2938ff4a01b750993.tar.zst
nixlib-282277dbc8770552e69ae3f2938ff4a01b750993.zip
treewide: Use more makeBinPath
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/wicd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/networking/wicd/default.nix b/pkgs/tools/networking/wicd/default.nix
index 40acfaf323a2..59bbd918d643 100644
--- a/pkgs/tools/networking/wicd/default.nix
+++ b/pkgs/tools/networking/wicd/default.nix
@@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
     
     substituteInPlace in/scripts=wicd.in --subst-var-by TEMPLATE-DEFAULT $out/share/other/dhclient.conf.template.default
 
-    sed -i "2iexport PATH=${python}/bin:${wpa_supplicant}/sbin:${dhcpcd}/sbin:${dhcp}/sbin:${wirelesstools}/sbin:${nettools}/sbin:${nettools}/bin:${iputils}/bin:${openresolv}/sbin:${iproute}/sbin\$\{PATH:+:\}\$PATH" in/scripts=wicd.in
+    sed -i "2iexport PATH=${stdenv.lib.makeBinPath [ python wpa_supplicant dhcpcd dhcp wirelesstools nettools nettools iputils openresolv iproute ]}\$\{PATH:+:\}\$PATH" in/scripts=wicd.in
     sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pygobject}):$(toPythonPath ${dbus-python})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd.in
     sed -i "2iexport PATH=${python}/bin\$\{PATH:+:\}\$PATH" in/scripts=wicd-client.in
     sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pygobject})/gtk-2.0:$(toPythonPath ${pycairo}):$(toPythonPath ${dbus-python})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-client.in