nixpkgs/pkgs/build-support
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
..
add-opengl-runpath
agda
alternatives
appimage
bintools-wrapper
build-bazel-package
build-fhs-userenv bash: use default PATH in FHS environments 2022-02-27 15:59:39 -08:00
build-fhs-userenv-bubblewrap bash: use default PATH in FHS environments 2022-02-27 15:59:39 -08:00
build-graalvm-native-image
build-setupcfg
buildenv
cc-wrapper
coq coqPackages: tree-wide move packages to nativeBuildInputs and add strictDeps = true 2022-02-25 07:54:17 +01:00
dhall
docker streamLayeredImage: pass through passthru attributes 2022-01-31 10:10:10 +03:00
dotnet buildDotnetModule: enable RestoreUseStaticGraphEvaluation 2022-02-12 02:15:13 +01:00
emacs
expand-response-params
fetchbitbucket
fetchbower
fetchbzr
fetchcvs
fetchdarcs
fetchdocker
fetchfirefoxaddon
fetchfossil
fetchgit fetchgit: split off deterministic-git functions 2022-02-19 14:33:20 +01:00
fetchgitea
fetchgithub fetchFromGitHub: perserve originating position 2022-02-10 10:18:16 -08:00
fetchgitiles
fetchgitlab
fetchgitlocal
fetchgx
fetchhg
fetchipfs
fetchmavenartifact
fetchmtn
fetchnextcloudapp
fetchpatch fetchpatch: Clean up 2022-02-02 12:15:47 +01:00
fetchrepoorcz
fetchrepoproject
fetchs3
fetchsavannah
fetchsourcehut
fetchsvn
fetchsvnrevision
fetchsvnssh
fetchurl fetchzip: remove need for overrideAttrs 2022-02-26 08:58:08 -08:00
fetchzip fetchzip: remove need for overrideAttrs 2022-02-26 08:58:08 -08:00
flutter flutter.mkFlutterApp: fix installing .desktop 2022-02-23 15:10:59 +01:00
go garble: 20200107 -> 0.5.1, switch to go_1_17 2022-01-30 07:42:46 +10:00
icon-conv-tools
install-shell-files
java
kernel make-initrd: fix reproducibility problems with hard links 2022-01-29 18:07:11 -05:00
libredirect Merge remote-tracking branch 'nixpkgs/staging-next' into staging 2022-01-24 15:39:34 +00:00
make-darwin-bundle build-support: make-darwin-bundle: new 2022-02-10 18:53:53 +00:00
make-desktopitem build-support/makeDesktopItem: make fully declarative, add all missing options 2022-02-25 13:40:38 -08:00
make-startupitem
make-symlinks
mkshell
mono-dll-fixer
nix-gitignore
node/fetch-yarn-deps
nuke-references
ocaml ocamlPackages tree-wide: Move buildInputs that should be nativeBuildInputs 2022-02-24 14:39:27 +01:00
oci-tools
pkg-config-wrapper
prefer-remote-fetch
references-by-popularity
release
remove-references-to
replace-secret
rust rustPlatform.bindgenHook: init 2022-02-22 19:37:07 +01:00
setup-hooks Merge pull request #131891 from hexagonal-sun/darwin-app-creation 2022-02-11 09:26:32 +11:00
singularity-tools
skaware skawarePackages.buildPackage: reformat with nixpkgs-fmt 2022-01-15 22:06:56 +01:00
snap
src-only
substitute
substitute-files
templaterpm
trivial-builders nixos/nix-daemon: use structural settings 2022-01-26 21:04:50 -05:00
vm
wrapper-common
writers
build-maven.nix
build-pecl.nix
closure-info.nix
plugins.nix
replace-dependency.nix
setup-systemd-units.nix
source-from-head-fun.nix
test-equal-derivation.nix testEqualDerivation: init 2022-01-08 15:18:57 +01:00
trivial-builders.nix Merge branch 'staging-next' into staging 2022-01-10 01:26:05 +01:00