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 Merge pull request #98214 from turion/dev_test_all_agda_packages 2021-10-19 09:56:50 +02:00
alternatives lapack: include lapacke_utils.h in alternatives/lapack 2021-12-01 15:14:47 +08:00
appimage Merge staging-next into staging 2021-10-29 18:01:38 +00:00
bintools-wrapper Check link type based on expanded parameters 2022-01-01 20:30:56 +08:00
build-bazel-package buildBazelPackage: Pass --curses=no for terse logs 2021-12-04 23:36:40 +00:00
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 buildGraalVmNativeImage: enable utf-8 by default 2022-01-04 09:56:34 +01:00
build-setupcfg
buildenv lib: make extendDerivation lighter on eval 2021-10-15 16:39:10 +02:00
cc-wrapper Check link type based on expanded parameters 2022-01-01 20:30:56 +08:00
coq coqPackages: tree-wide move packages to nativeBuildInputs and add strictDeps = true 2022-02-25 07:54:17 +01:00
dhall dhallDirectoryToNix: add this utility function 2021-12-07 13:36:21 +09:00
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 melpa2nix: Ignore large file warnings 2021-12-19 08:07:18 -08:00
expand-response-params
fetchbitbucket
fetchbower
fetchbzr
fetchcvs
fetchdarcs
fetchdocker
fetchfirefoxaddon fetchfirefoxaddon: Allow overriding the src and add a test for it 2021-10-03 03:43:41 +03:00
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 fetchgitlab: fix unexpected argument 2021-11-18 21:53:46 +03:00
fetchgitlocal
fetchgx fetchgx: deprecate phases 2021-08-20 23:47:21 +02:00
fetchhg
fetchipfs
fetchmavenartifact
fetchmtn misc: Replace tab indentation with spaces 2021-11-14 16:04:46 +13:00
fetchnextcloudapp nixos/nextcloud: fixup #119638 2021-10-09 22:45:31 +02:00
fetchpatch fetchpatch: Clean up 2022-02-02 12:15:47 +01:00
fetchrepoorcz
fetchrepoproject
fetchs3
fetchsavannah
fetchsourcehut fetchFromSourcehut: allow recursive fetching 2022-01-03 16:37:16 +07:00
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 application/development: /s/name/pname&version/ 2021-06-30 09:55:22 +02:00
install-shell-files
java canonicalize-jars-hook: add 2021-10-27 13:21:27 +03:00
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 mkShell: make it buildable (#153194) 2022-01-08 01:54:04 +01:00
mono-dll-fixer mono-dll-fixer: remove builder.sh 2021-11-20 18:01:00 +01:00
nix-gitignore nix-gitignore: fix evaluation when .gitignore contains \# or \! (#130643) 2021-07-22 12:18:10 -04:00
node/fetch-yarn-deps fetchYarnDeps: support more url types 2021-12-30 11:13:25 +01:00
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 pkg-config: make comment clearer for non-natives 2021-12-02 16:11:43 -08:00
prefer-remote-fetch
references-by-popularity
release releaseTools.antBuild: remove 2021-10-27 13:21:27 +03:00
remove-references-to
replace-secret replace-secret: deprecate phases 2021-08-17 09:59:37 +02:00
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 singularity-tools.buildImage: fix building from non-standard store paths 2021-10-27 02:11:44 -04:00
skaware skawarePackages.buildPackage: reformat with nixpkgs-fmt 2022-01-15 22:06:56 +01:00
snap
src-only
substitute
substitute-files
templaterpm nix-template-rpm: deprecate phases 2021-08-17 11:04:49 +02:00
trivial-builders nixos/nix-daemon: use structural settings 2022-01-26 21:04:50 -05:00
vm vmTools/test: fix pcmanfm instead of pan 2021-12-31 16:47:22 +01:00
wrapper-common Quote variable references (#144838) 2021-11-09 19:55:40 +09:00
writers writers.PyPy{2,3}: init 2021-12-15 10:01:08 +01:00
build-maven.nix
build-pecl.nix php: Run nixpkgs-fmt on all php related files 2021-06-26 20:07:56 +02:00
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