nixpkgs/pkgs/top-level
Alyssa Ross 5643714dea stdenvBootstrapTools: inherit {cross,local}System
It's expected that attributes in the top-level package set will all use
that package set, but this wasn't the case for the bootstrap tools.
This led some very confusing behaviour:

- pkgsMusl.stdenvBootstrapTools would build glibc bootstrap tools
- stdenvBootstrapTools was _always_ cross compiled, even if
  Nixpkgs wasn't, because it always set crossSystem.  This also didn't
  match the behaviour of using make-bootstrap-tools.nix as an
  entrypoint, where crossSystem would default to null.

For the Linux stdenv, I've made the ideal fix, which is to make pkgs an
argument rather than taking the arguments for pkgs, and then
re-importing it.  This means it'll always use exactly the same package
set that's calling it, and should also mean faster eval due to not
importing Nixpkgs twice.

The Darwin stdenv is more complicated, and I'm not able to easily test
it, so I wasn't confident in making the same fix there.  Instead, I've
just made sure crossSystem and localSystem are set to the correct values
so they're not always cross compiled and match the parent package set's.
It would still be preferable if somebody could make Darwin's
make-bootstrap-tools.nix take pkgs as an argument, rather than all the
arguments for pkgs.
2022-05-31 14:32:27 +00:00
..
agda-packages.nix
aliases.nix Merge pull request #175214 from helsinki-systems/remove/automoc4 2022-05-30 22:25:36 -03:00
all-packages.nix stdenvBootstrapTools: inherit {cross,local}System 2022-05-31 14:32:27 +00:00
beam-packages.nix erlangR25: init at 25.0 (#173674) 2022-05-20 06:17:16 -04:00
config.nix pkgs/config.nix: Fix infinite recursion when freeform config is strict in pkgs 2022-05-29 10:25:39 +02:00
coq-packages.nix coqPackages: etc 2022-05-25 20:00:25 +02:00
cubocore-packages.nix
cuda-packages.nix cudaPackages: overhaul of how we package cuda packages 2022-04-09 08:50:22 +02:00
darwin-packages.nix
default.nix pkgs/top-level/config.nix: Add warnUndeclaredOptions 2022-05-10 07:01:00 +02:00
dhall-packages.nix
dotnet-packages.nix
emacs-packages.nix
emscripten-packages.nix emscriptenPackages.zlib: use emscriptenStdenv 2022-05-16 10:26:46 -04:00
gnuradio-packages.nix
haskell-packages.nix Revert "Add mingwW64-llvm cross-system." 2022-05-18 13:50:23 +02:00
haxe-packages.nix
impure.nix
java-packages.nix Merge remote-tracking branch 'origin/master' into mvn 2022-03-21 18:37:45 -04:00
kodi-packages.nix config.allowAliases: Define as option 2022-04-01 11:33:10 +02:00
linux-kernels.nix linux_latest: 5.17.9 -> 5.18 2022-05-23 09:19:42 +00:00
lua-packages.nix luaPackages.luxio: mark broken for darwin 2022-05-30 13:42:58 +02:00
make-tarball.nix
metrics.nix metrics job: schedule on any machine, for now 2022-05-13 11:44:20 +02:00
nim-packages.nix
nixpkgs-basic-release-checks.nix
ocaml-packages.nix ocamlPackages.resto: 0.6.1 -> 0.7 2022-05-31 13:32:40 +02:00
octave-packages.nix
packages-config.nix emacs: 27.2 -> 28.1 2022-04-16 16:53:45 +12:00
perl-packages.nix Merge pull request #174722 from helsinki-systems/fix/perlPackages 2022-05-27 17:34:09 +02:00
php-packages.nix phpExtensions.grpc: init at 1.45.0 2022-05-18 19:18:25 +02:00
python2-packages.nix pythonPackages.cryptography-vectors: make internal to cryptography 2022-03-27 16:08:55 +02:00
python-aliases.nix Merge pull request #175279 from fabaff/poster3-remove 2022-05-30 19:17:49 +02:00
python-packages.nix Merge pull request #175536 from fabaff/huum 2022-05-31 09:12:25 +02:00
qt5-packages.nix Merge pull request #174875 from doronbehar/pkg/syncthingtray 2022-05-27 11:58:11 +03:00
qt6-packages.nix qt6: init at 6.3.0 2022-05-23 09:37:40 +08:00
release-alternatives.nix release-alternatives.nix: fix eval 2022-05-30 12:49:26 +00:00
release-cross.nix lib.systems: drop scaleway-c1 2022-05-27 12:02:39 +00:00
release-cuda.nix cudaPackages: overhaul of how we package cuda packages 2022-04-09 08:50:22 +02:00
release-haskell.nix release-haskell.nix: include nixos tests for xmonad 2022-05-19 08:37:08 +02:00
release-lib.nix nixos/lxd: improve tests 2022-05-03 12:24:13 +02:00
release-python.nix
release-r.nix
release-small.nix release-small: replace ssmtp package use with msmtp 2022-04-17 00:44:50 +02:00
release.nix release: Slightly adjust release-critical packages 2022-05-26 15:45:38 +02:00
ruby-packages.nix rubyPackages: add pandocomatic (#164545) 2022-04-14 05:39:57 -05:00
splice.nix
stage.nix config.allowAliases: Define as option 2022-04-01 11:33:10 +02:00
unixtools.nix unixtools: Fix nix run nixpkgs#unixtools.<cmd> 2022-03-27 14:55:17 +11:00
wine-packages.nix wine-packages: fix Hydra build failures on Darwin 2022-04-22 09:38:47 -04:00