1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/pkgs/build-support
sternenseemann b2a568906a wrapCC, wrapBintools: use runtimeShell instead of stdenv shell
We don't need to artificially make sure that we can execute the wrapper
scripts on the build platform by using stdenv's shell (which comes from
buildPackages) since our cross infrastructure will get us the wrapper
from buildPackages. The upside of this change is that cross-compiled
wrappers (e.g. pkgsCross.aarch64-multiplatform.gcc) will actually work
when executed!

For bootstrapping this is also not a problem, since we have a long
build->build platform chain so runtimeShell is just as good as
stdenvNoCC.shell. We do fall back to old ways, though, by explicitly
using the bootstrap-tools shell in stage2, so the adjacent bash is only
used from stage4 onwards. This is unnecessary in principle (I'll try
removing this hack in the future), but ensures this change causes zero
rebuilds.
2024-04-18 20:49:13 +02:00
..
add-driver-runpath
add-opengl-runpath
agda haskellPackages.Agda: Split outputs to reduce closure size 2024-04-07 16:36:57 +03:00
alternatives treewide: simplify exec format conditionals 2024-01-07 17:43:33 -08:00
appimage appimage-run: Add pipewire support 2024-02-18 22:34:27 +01:00
binary-cache
bintools-wrapper wrapCC, wrapBintools: use runtimeShell instead of stdenv shell 2024-04-18 20:49:13 +02:00
build-bazel-package
build-fhsenv-bubblewrap build-fhsenv-bubblewrap: reference 32-bit binaries only if multiArch 2024-04-07 10:44:53 -05:00
build-fhsenv-chroot build-fhs-user-env: add compatibility for pipewire alsa emulation 2024-02-02 22:38:49 -08:00
build-graalvm-native-image buildGraalvmNativeImage: fix UTF-8 encoding issue for JVM dependencies 2024-01-26 11:12:54 +00:00
buildenv build-support/buildenv: Hoist builder instantiation 2023-12-29 03:04:46 +13:00
cc-wrapper wrapCC, wrapBintools: use runtimeShell instead of stdenv shell 2024-04-18 20:49:13 +02:00
coq Avoid top-level with ...; in pkgs/build-support/coq/extra-lib.nix 2024-03-19 22:31:19 +01:00
dart dartHooks.dartInstallHook: Add trailing newline 2024-01-18 12:17:43 +11:00
deterministic-uname treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
dhall
dlang buildDubPackage, dub-to-nix: init 2024-04-03 12:32:08 +02:00
docker Merge pull request #292760 from PigeonF/dockertools-build-layered-compressor 2024-04-08 09:24:18 +02:00
dotnet Merge pull request #295812 from UlyssesZh/fix-nuget-to-nix-trailing-slash 2024-04-05 06:31:00 +02:00
emacs Merge branch 'master' into staging-next 2023-12-31 02:31:32 +01:00
expand-response-params
fake-nss
fetch9front
fetchbitbucket
fetchbower
fetchbzr
fetchcvs
fetchdarcs
fetchdebianpatch
fetchdocker
fetchfirefoxaddon
fetchfossil
fetchgit fetchgit: set http.proxy globally for submodules 2024-03-21 19:14:00 +08:00
fetchgitea
fetchgithub fetchFromGitHub: fix compatibility issue with nix-prefetch 2024-01-30 12:21:13 +01:00
fetchgitiles
fetchgitlab Merge pull request #268304 from panicgh/fetchgitlab-sparse-forcegit 2023-12-17 03:34:52 +01:00
fetchgitlocal
fetchgx
fetchhg
fetchipfs
fetchmavenartifact
fetchmtn
fetchnextcloudapp fetchNextcloudApp: support passing hash to fetchzip 2024-03-21 16:24:29 +00:00
fetchpatch
fetchpijul
fetchpypi
fetchpypilegacy fetchPypiLegacy: add test 2024-02-17 17:11:59 +13:00
fetchrepoorcz
fetchrepoproject Avoid top-level with ...; in pkgs/build-support/fetchrepoproject/default.nix 2024-03-19 22:31:19 +01:00
fetchs3
fetchsavannah
fetchsourcehut Avoid top-level with ...; in pkgs/build-support/fetchsourcehut/default.nix 2024-03-19 22:31:19 +01:00
fetchsvn
fetchsvnrevision
fetchsvnssh
fetchtorrent
fetchurl buildDubPackage, dub-to-nix: init 2024-04-03 12:32:08 +02:00
fetchzip fetchzip: allow dropping unzip 2024-01-12 20:26:16 +01:00
flutter buildFlutterApplication: Change flutterHostPlatform to targetFlutterPlatform 2024-01-19 11:07:33 +11:00
go buildGoModule: inherit env from main package to goModule derivation 2024-04-14 14:27:44 +09:00
icon-conv-tools
install-shell-files
kernel Merge pull request #288212 from r-ryantm/auto-update/makeInitrdNGTool 2024-03-27 00:43:03 -04:00
lib build-support/lib/meson: Statically compute default meson flags 2024-03-20 16:35:31 +13:00
libredirect libredirect: don't test LFS64 functions on musl 2024-03-02 01:02:36 +01:00
make-darwin-bundle
make-desktopitem
make-hardcode-gsettings-patch
make-pkgconfigitem
make-startupitem
mkshell
mono-dll-fixer
nix-gitignore Avoid top-level with ...; in pkgs/build-support/nix-gitignore/default.nix 2024-03-19 22:31:19 +01:00
node fixup-yarn-lock: split out from prefetch-yarn-deps, cleanup installing 2024-04-17 11:35:22 -04:00
nuke-references nuke-references: add meta.mainProgram 2024-01-05 15:04:14 -05:00
ocaml
oci-tools ociTools.buildContainer: writeReferencesToFile -> writeClosure 2024-03-19 05:30:54 +08:00
php build-support/php: update warnings when composer validate fails 2024-03-14 21:52:08 +01:00
pkg-config-wrapper pkg-config: set prefixed mainProgram for cross compilation 2024-04-04 14:55:10 -04:00
portable-service
prefer-remote-fetch
references-by-popularity referenceByPopularity: rename in comment writeReferencesToFile -> writeClosure 2024-03-19 05:30:53 +08:00
release Avoid top-level with ...; in pkgs/build-support/release/default.nix 2024-03-19 22:31:19 +01:00
remove-references-to treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
replace-secret
rust tests.importCargoLock: fix self-inclusive src listings in .nix files 2024-04-10 10:27:12 -05:00
setup-hooks auditBlasHook: remove 2024-04-02 10:50:15 -07:00
singularity-tools singularity-tools.buildImages: use writeClosure 2024-03-19 05:30:54 +08:00
src-only
substitute Merge pull request #291569 from Luflosi/fix-substituteAll-typo 2024-04-04 18:07:15 +08:00
substitute-files
testers macOS support for NixOS tests (#282401) 2024-03-02 06:33:14 +01:00
trivial-builders NixOS Integration tests: Re-enable for macOS 2024-04-12 13:41:27 +02:00
vm Merge pull request #264147 from lheckemann/foreign-distros 2024-04-10 13:31:39 +02:00
wrapper-common
writers Avoid top-level with ...; in pkgs/build-support/writers/test.nix 2024-03-19 22:31:19 +01:00
build-maven.nix
checkpoint-build.nix checkpointBuildTools.prepareCheckpointBuild: stop at install 2024-03-13 20:11:31 +08:00
closure-info.nix
make-impure-test.nix
plugins.nix
replace-dependency.nix Avoid top-level with ...; in pkgs/build-support/replace-dependency.nix 2024-03-19 22:31:19 +01:00
setup-systemd-units.nix
source-from-head-fun.nix