nixpkgs/pkgs/top-level
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
..
agda-packages.nix
aliases.nix pgadmin3: move 2022-02-26 13:20:27 +01:00
all-packages.nix bash: use default PATH in FHS environments 2022-02-27 15:59:39 -08:00
beam-packages.nix
config.nix Revert "pkgs.path: Avoid copying when used via flake" 2022-01-27 12:53:30 +01:00
coq-packages.nix coqPackages.LibHyps: init at 2.0.4.1 2022-02-20 14:14:40 +01:00
cubocore-packages.nix
darwin-packages.nix moltenvk: init at 1.1.7 2022-02-16 17:17:06 -05:00
default.nix
dhall-packages.nix
dotnet-packages.nix
emacs-packages.nix
emscripten-packages.nix
gnuradio-packages.nix gnuradio: Inherit log dependencies in passthrus 2022-02-18 10:53:48 +02:00
haskell-packages.nix haskell.compiler.ghc902: Switch to LLVM 12 2022-02-02 20:27:32 +01:00
haxe-packages.nix
impure.nix
java-packages.nix openjfx17: init at 17.0.0.1+1 2022-01-22 12:21:48 +01:00
kodi-packages.nix kodi.packages.controller-topology-project: init at unstable-2022-01-22 2022-01-27 11:56:46 -05:00
linux-kernels.nix linuxPackages: use 5_10 kernel on i686 2022-02-27 15:04:37 -08:00
lua-packages.nix
make-tarball.nix release.nix: fix packages.json.br for tarball 2022-02-07 21:06:11 -08:00
metrics.nix
nim-packages.nix nimPackages.jsony: init at 1.1.3 2022-01-22 11:30:07 +01:00
nixpkgs-basic-release-checks.nix nixpkgs-basic-release-checks.nix: print errors 2022-02-05 14:32:54 +01:00
ocaml-packages.nix ocamlPackages.pycaml: remove at 0.82-14 2022-02-26 13:51:35 +01:00
octave-packages.nix
packages-config.nix packages-config.nix: ignore haskellPackages.hs-mesos 2022-02-08 19:04:49 +01:00
perl-packages.nix Merge pull request #160215 from AnatolyPopov/perl-devel-camelcadedb-2021.2 2022-02-23 13:29:38 +01:00
php-packages.nix php81: 8.1.2 -> 8.1.3 2022-02-20 11:07:32 +01:00
pure-packages.nix
python2-packages.nix python27Packages.gtkme: init at version 1.5.1 2022-02-25 14:00:45 +01:00
python-aliases.nix python3Packages.markups: rename 2022-02-14 18:08:09 +01:00
python-packages.nix readability-lxml: init at 0.8.1 2022-02-27 14:23:20 -06:00
qt5-packages.nix
release-alternatives.nix
release-cross.nix
release-haskell.nix haskell.packages.ghc921.haskell-language-server: Fix build and enable 2022-02-05 03:15:11 +01:00
release-lib.nix
release-python.nix release-python.nix: add test job sets 2022-02-11 17:05:05 -08:00
release-r.nix
release-small.nix Merge pull request #157886 from jonringer/prune-release-small 2022-02-05 13:13:47 -05:00
release.nix release.nix: add cachix on darwin as a blocker 2022-02-01 12:06:46 +00:00
ruby-packages.nix rubyPackages.addressable: 2.4.0 -> 2.8.0 2022-01-30 16:12:25 +01:00
splice.nix
stage.nix
unixtools.nix
wine-packages.nix wine: enable Vulkan on Darwin 2022-02-18 15:20:34 -05:00