3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv
Adam Joseph d7aad24531 express #208478 as assertions
PR #208478 added a lot of documentation about which packages were
rebuilt in each stage of the stdenv bootstrap.  However nothing
checks that these comments agree with reality; they can bitrot over
time.  This PR rewrites those comments as assertions, so they cannot
bitrot.

This conversion did expose some ambiguity in our scheme for naming
the stages.   Suppose that `pkgs.stdenv.name=="stdenv-stage4", then
which of these is "the stage4 coreutils"?

```
pkgs.coreutils
pkgs.stdenv.__bootPackages.coreutils
```

The choice is arbitrary, and both choices have confusing corner
cases.  We should revisit this at some point.
2023-02-20 23:20:30 -08:00
..
cross
custom
cygwin
darwin Merge master into staging-next 2023-02-07 06:01:28 +00:00
freebsd
generic Merge staging-next into staging 2023-02-13 12:02:05 +00:00
linux express #208478 as assertions 2023-02-20 23:20:30 -08:00
native
nix
tests stdenv.tests: Add succeedOnFailure 2022-11-14 19:03:35 +01:00
adapters.nix treewide: add names to all setup hooks 2023-01-19 15:00:36 +00:00
booter.nix
default.nix