1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/stdenv/linux
John Ericson d240a0da1a top-level: Remove cycles: stdenv calls in top-level but not vice versa
This commit changes the dependencies of stdenv, and clean-up the stdenv
story by removing the `defaultStdenv` attribute as well as the `bootStdenv`
parameter.

Before, the final bootstrapping stage's stdenv was provided by
all-packages, which was iterating multiple times over the
top-level/default.nix expression, and non-final bootstrapping stages'
stdenvs were explicitly specified with the `bootStdenv` parameter.

Now, all stages' stdenvs are specified with the `stdenv` parameter.
For non-final bootstrapping stages, this is a small change---basically just
rename the parameter.
For the final stage, top-level/default.nix takes the chosen stdenv and
makes the final stage with it.

`allPackages` is used to make all bootstrapping stages, final and
non-final alike. It's basically the expression of `stage.nix` (along with a
few partially-applied default arguments)

Note, the make-bootstrap-tools scripts are temporarily broken
2016-11-30 19:10:59 -05:00
..
bootstrap stdenv: ARM bootstrap: Update bootstrap tarballs to hydra-built ones 2016-07-20 18:51:09 +03:00
scripts stdenv: Remove unpack-bootstrap-tools-arm.sh 2016-07-20 02:38:10 +03:00
default.nix top-level: Remove cycles: stdenv calls in top-level but not vice versa 2016-11-30 19:10:59 -05:00
make-bootstrap-tools-cross.nix make-bootstrap-tools-cross.nix: Fix gcc build-time options for armv5tel 2016-08-28 00:30:48 +03:00
make-bootstrap-tools.nix make-bootstrap-tools{,-cross}.nix: Create deterministic tars 2016-07-20 02:38:10 +03:00