nixpkgs/pkgs/shells
Daniel Fullmer 0a8007498f bash: use default PATH in FHS environments
If bash is executed within an environment where PATH is not set, it uses
the DEFAULT_PATH_VALUE compiled into bash to set PATH. In nixpkgs we set
this to /no-such-path by default. This makes sense in a nixpkgs/NixOS
environment since paths like /bin or /usr/bin should not be used.
However, when bash is used inside an FHS environment, this produces
results that differ from distributions which follow the FHS standard.

Before this change:
$ steam-run env -i /bin/bash -c 'echo $PATH'
/no-such-path

After this change:
$ steam-run env -i /bin/bash -c 'echo $PATH'
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:.
2022-02-27 15:59:39 -08:00
..
any-nix-shell
bash bash: use default PATH in FHS environments 2022-02-27 15:59:39 -08:00
dash dash: add test 2022-01-17 13:37:04 +01:00
dgsh
elvish elvish: move test to installCheckPhase 2022-01-04 00:30:56 +11:00
es various: cleanup of 'inherit version;' 2021-07-16 00:17:12 +02:00
fish fish: fix cross compile 2022-02-20 09:51:20 -06:00
hilbish hilbish: 0.6.1 -> 0.7.1 2021-11-24 13:51:14 -08:00
ion ion: unstable-2020-03-22 -> unstable-2020-05-10 2021-05-21 11:53:16 +09:00
jush
ksh ksh: use python3 2021-04-03 17:06:21 +02:00
liquidprompt liquidprompt: 2.0.3 -> 2.0.4 2022-02-12 20:06:29 -08:00
loksh loksh: 6.9 -> 7.0 2021-11-03 12:44:16 +00:00
mksh mksh: fix license 2021-03-23 15:24:43 -03:00
mrsh
nsh nsh: init at 0.4.2 2021-10-30 04:20:00 +00:00
nushell nushell: 0.43.0 -> 0.44.0 2022-02-12 18:58:57 +00:00
oh
oil oil: 0.9.7 -> 0.9.8 2022-02-25 10:57:50 -08:00
oksh oksh: 6.9 -> 7.0 2021-11-03 17:29:22 +00:00
pash buildDotnetPackage: rename baseName to pname 2021-12-23 22:46:35 +01:00
powershell powershell: 7.2.0 -> 7.2.1 2021-12-25 11:30:29 +00:00
rc
rush rush: 2.1 -> 2.2 2022-02-22 23:42:15 +00:00
scponly
tcsh tcsh: 6.23.00 -> 6.23.02 2022-01-04 01:57:33 -03:00
xonsh xonsh: 0.10.1 -> 0.11.0 2021-11-27 14:19:26 -05:00
yash yash: init at 2.52 2022-01-09 06:48:36 -07:00
zsh Merge pull request #161117 from r-ryantm/auto-update/pure-prompt 2022-02-24 22:22:22 +01:00