···23 export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [gtk mono]}"
24 # We need PATH from user env for xdg-open to find its tools, which
25 # typically depend on the currently running desktop environment.
26- export PATH="${avrgcclibc}/bin:${avrdude}/bin:${xdg_utils}/bin:\$PATH"
2728 # avrdudess must have its resource files in its current working directory
29 cd $out/avrdudess && exec ${mono}/bin/mono "$out/avrdudess/avrdudess.exe" "\$@"
···23 export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [gtk mono]}"
24 # We need PATH from user env for xdg-open to find its tools, which
25 # typically depend on the currently running desktop environment.
26+ export PATH="${stdenv.lib.makeBinPath [ avrgcclibc avrdude xdg_utils ]}:\$PATH"
2728 # avrdudess must have its resource files in its current working directory
29 cd $out/avrdudess && exec ${mono}/bin/mono "$out/avrdudess/avrdudess.exe" "\$@"
···74 cp $out/share/stumpwm/modules/util/stumpish/stumpish $out/bin/
75 chmod +x $out/bin/stumpish
76 wrapProgram $out/bin/stumpish \
77- --prefix PATH ":" "${rlwrap}/bin:${gnused}/bin:${gnugrep}/bin:${coreutils}/bin:${xprop}/bin"
7879 # Paths in the compressed image $out/bin/stumpwm are not
80 # recognized by Nix. Add explicit reference here.
···74 cp $out/share/stumpwm/modules/util/stumpish/stumpish $out/bin/
75 chmod +x $out/bin/stumpish
76 wrapProgram $out/bin/stumpish \
77+ --prefix PATH ":" "${stdenv.lib.makeBinPath [ rlwrap gnused gnugrep coreutils xprop ]}"
7879 # Paths in the compressed image $out/bin/stumpwm are not
80 # recognized by Nix. Add explicit reference here.
+1-1
pkgs/build-support/vm/default.nix
···587 buildCommand = ''
588 ${createRootFS}
589590- PATH=$PATH:${dpkg}/bin:${dpkg}/bin:${glibc.bin}/bin:${lzma.bin}/bin
591592 # Unpack the .debs. We do this to prevent pre-install scripts
593 # (which have lots of circular dependencies) from barfing.
···587 buildCommand = ''
588 ${createRootFS}
589590+ PATH=$PATH:${stdenv.lib.makeBinPath [ dpkg dpkg glibc lzma ]}
591592 # Unpack the .debs. We do this to prevent pre-install scripts
593 # (which have lots of circular dependencies) from barfing.
···52 # Some erlang bin/ scripts run sed and awk
53 postFixup = ''
54 wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
55- wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${gnused}/bin/:${gawk}/bin"
56 '';
5758 setupHook = ./setup-hook.sh;
···52 # Some erlang bin/ scripts run sed and awk
53 postFixup = ''
54 wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
55+ wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${stdenv.lib.makeBinPath [ gnused gawk ]}"
56 '';
5758 setupHook = ./setup-hook.sh;
+1-1
pkgs/development/interpreters/erlang/R17.nix
···69 # Some erlang bin/ scripts run sed and awk
70 postFixup = ''
71 wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
72- wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${gnused}/bin/:${gawk}/bin"
73 '';
7475 setupHook = ./setup-hook.sh;
···69 # Some erlang bin/ scripts run sed and awk
70 postFixup = ''
71 wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
72+ wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${stdenv.lib.makeBinPath [ gnused gawk ]}"
73 '';
7475 setupHook = ./setup-hook.sh;
+1-1
pkgs/development/interpreters/erlang/R18.nix
···80 # Some erlang bin/ scripts run sed and awk
81 postFixup = ''
82 wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
83- wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${gnused}/bin/:${gawk}/bin"
84 '';
8586 setupHook = ./setup-hook.sh;
···80 # Some erlang bin/ scripts run sed and awk
81 postFixup = ''
82 wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
83+ wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${stdenv.lib.makeBinPath [ gnused gawk ]}"
84 '';
8586 setupHook = ./setup-hook.sh;
+1-1
pkgs/development/interpreters/erlang/R19.nix
···74 # Some erlang bin/ scripts run sed and awk
75 postFixup = ''
76 wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
77- wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${gnused}/bin/:${gawk}/bin"
78 '';
7980 setupHook = ./setup-hook.sh;
···74 # Some erlang bin/ scripts run sed and awk
75 postFixup = ''
76 wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
77+ wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${stdenv.lib.makeBinPath [ gnused gawk ]}"
78 '';
7980 setupHook = ./setup-hook.sh;
+1-1
pkgs/development/interpreters/lfe/default.nix
···39 # Add some stuff to PATH so the scripts can run without problems.
40 for f in $out/bin/*; do
41 wrapProgram $f \
42- --prefix PATH ":" "${erlang}/bin:${coreutils}/bin:${bash}/bin:$out/bin"
43 substituteInPlace $f --replace "/usr/bin/env" "${coreutils}/bin/env"
44 done
45 '';
···39 # Add some stuff to PATH so the scripts can run without problems.
40 for f in $out/bin/*; do
41 wrapProgram $f \
42+ --prefix PATH ":" "${stdenv.lib.makeBinPath [ erlang coreutils bash ]}:$out/bin"
43 substituteInPlace $f --replace "/usr/bin/env" "${coreutils}/bin/env"
44 done
45 '';
···22 done
2324 # We need a way to pass $PATH to the scripts
25- sed -i '2iexport PATH=${git}/bin:${mariadb}/bin:${which}/bin:${procps}/bin:${coreutils}/bin' src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh.inc
26- sed -i '2iexport PATH=${git}/bin:${coreutils}/bin:${diffutils}/bin:${nettools}/bin' src/program/snabbnfv/neutron_sync_agent/neutron_sync_agent.sh.inc
27 '';
2829 installPhase = ''
···22 done
2324 # We need a way to pass $PATH to the scripts
25+ sed -i '2iexport PATH=${stdenv.lib.makeBinPath [ git mariadb which procps coreutils ]}' src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh.inc
26+ sed -i '2iexport PATH=${stdenv.lib.makeBinPath [ git coreutils diffutils nettools ]}' src/program/snabbnfv/neutron_sync_agent/neutron_sync_agent.sh.inc
27 '';
2829 installPhase = ''