nixpkgs/pkgs/stdenv/linux
sternenseemann 0198f43efb stdenv: consistently use self: super: … for bootstrapping overlays
As of late, `final: prev: …` for overlays has become more prevalent in
newer code. This is also exhibited in some code (presumably added
recently) in stdenv. This change is not about any merits or demerits of
any naming convention, but rather aims to make the nomenclature in
stdenv bootstrapping consistent to lessen confusion.

I've chosen to stick to `self: super: …` convention because:

1. It is more common in the code as it stands.

2. Using `final: prev: …` makes the code more confusing, als it causes
   `prev` to be in scope alongside `prevStage`. `prevStage` actually
   bears no relation to `prev` even though their naming suggests it,
   making it easy to confuse them (the former is the (final) package set
   of the previous stage while the latter is just the `prev`/`super` of
   the overlay “chaining” on a completely fresh package set, i.e. `prev`
   doesn't even relate to the previous stage's `overrides` argument).

This change also corrects a naming error in stdenv/native which had no
effect, as the variables were unused.
2024-04-15 12:53:13 +02:00
..
bootstrap-files pkgs/stdenv/linux: init powerpc64-unknown-linux-gnuabielfv2 bootstrap-files 2024-03-10 12:36:34 +01:00
bootstrap-tools cc-wrapper: add trivialautovarinit hardening flag support 2024-02-24 12:00:09 +00:00
bootstrap-tools-musl cc-wrapper: add trivialautovarinit hardening flag support 2024-02-24 12:00:09 +00:00
default.nix stdenv: consistently use self: super: … for bootstrapping overlays 2024-04-15 12:53:13 +02:00
make-bootstrap-tools-cross.nix pkgs/stdenv/linux/make-bootstrap-tools-cross: Add powerpc64 entry 2024-03-04 15:01:29 +01:00
make-bootstrap-tools.nix pkgs/top-level/release.nix: drop unused dist targets 2024-04-04 21:40:08 +01:00