nixpkgs-suyu/pkgs
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
..
applications Merge pull request #157693 from Radvendii/zammad 2022-02-28 00:57:11 +01:00
build-support bash: use default PATH in FHS environments 2022-02-27 15:59:39 -08:00
common-updater
data Merge pull request #160414 from stephaneyfx/update-redhat-fonts 2022-02-27 23:01:58 +01:00
desktops gnome.gpaste: 3.42.5 -> 3.42.6 2022-02-26 16:06:28 +01:00
development Merge pull request #162098 from okpedersen/omnisharp-roslyn-darwin-support 2022-02-27 17:59:02 -06:00
games steam: add dotnet support 2022-02-27 14:19:13 -08:00
misc Merge pull request #161463 from msfjarvis/hs/scrcpy-1.23 2022-02-27 20:56:23 +01:00
os-specific linux_5_15: mark as broken on i686 2022-02-27 15:04:37 -08:00
pkgs-lib
servers Merge pull request #161583 from veprbl/pr/broken_pim6sd 2022-02-27 20:41:15 +01:00
shells bash: use default PATH in FHS environments 2022-02-27 15:59:39 -08:00
stdenv
test
tools Merge pull request #162086 from mweinelt/aquosctl 2022-02-27 23:33:21 +01:00
top-level bash: use default PATH in FHS environments 2022-02-27 15:59:39 -08:00