nixpkgs-suyu/pkgs/stdenv
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
..
cross top-level: Remove cycles: stdenv calls in top-level but not vice versa 2016-11-30 19:10:59 -05:00
custom top-level: Remove cycles: stdenv calls in top-level but not vice versa 2016-11-30 19:10:59 -05:00
cygwin Allow not rebasing in cygwin stdenv. 2016-05-20 17:17:10 +02:00
darwin top-level: Remove cycles: stdenv calls in top-level but not vice versa 2016-11-30 19:10:59 -05:00
freebsd top-level: Remove cycles: stdenv calls in top-level but not vice versa 2016-11-30 19:10:59 -05:00
generic allowUnfree: mention the solution that works for nix-shell as well 2016-11-16 15:14:19 +01:00
linux top-level: Remove cycles: stdenv calls in top-level but not vice versa 2016-11-30 19:10:59 -05:00
native top-level: Remove cycles: stdenv calls in top-level but not vice versa 2016-11-30 19:10:59 -05:00
nix
adapters.nix Remove more dead code: stdenvDarwinNaked no longer exists 2016-06-20 23:53:09 -07:00
common-path.nix
default.nix top-level: Remove cycles: stdenv calls in top-level but not vice versa 2016-11-30 19:10:59 -05:00