1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/stdenv
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
..
cross
custom
cygwin
darwin wrapCC, wrapBintools: use runtimeShell instead of stdenv shell 2024-04-18 20:49:13 +02:00
freebsd
generic stdenv: make inputDerivation never fixed-output 2024-04-15 00:52:28 -07:00
linux wrapCC, wrapBintools: use runtimeShell instead of stdenv shell 2024-04-18 20:49:13 +02:00
native stdenv: consistently use self: super: … for bootstrapping overlays 2024-04-15 12:53:13 +02:00
nix
tests
adapters.nix Merge pull request #297711 from hercules-ci/rename-adapters-finalAttrs 2024-03-21 17:15:28 +01:00
booter.nix
default.nix