nixpkgs-suyu/pkgs
John Ericson f110a182a6 stdenv: Fix overriding + overrideAttrs
The old stdenv adapters were subtly wrong in two ways:

 - `overrideAttrs` leaked the original, unoverridden `mkDerivation`.

 - `stdenv.override` would throw away any manually-set `mkDerivation`
   from a stdenv reverting to the original.

Now, `mkDerivation` is controlled (nearly directly) via an argument, and
always correctly closes over the final ("self") stdenv. This means the
adapters can work entirely via `.override` without any manual `stdenv //
...`, and both those issues are fixed.

Note hashes are changed, because stdenvs no previously overridden like
`stdenvNoCC` and `crossLibcStdenv` now are. I had to add some
`dontDisableStatic = true` accordingly. The flip side however is that
since the overrides compose, we no longer need to override anything but
the default `stdenv` from which all the others are created.
2021-08-18 17:22:50 +00:00
..
applications Merge pull request #134512 from nh2/netcdf-4.8.0 2021-08-18 15:38:57 +02:00
build-support Merge pull request #133905 from raboof/buf-use-testVersion-utility 2021-08-18 11:59:49 +02:00
common-updater
data Merge pull request #134112 from r-ryantm/auto-update/iosevka-bin 2021-08-17 22:00:33 +03:00
desktops
development python38Packages.ipyvuetify: 1.7.0 -> 1.8.1 2021-08-18 08:32:33 -07:00
games Merge pull request #134397 from r-ryantm/auto-update/freeorion 2021-08-17 19:17:03 -05:00
misc Merge pull request #134551 from r-ryantm/auto-update/sameboy 2021-08-17 17:36:32 -05:00
os-specific stdenv: Fix overriding + overrideAttrs 2021-08-18 17:22:50 +00:00
pkgs-lib
servers Merge pull request #134180 from r-ryantm/auto-update/navidrome 2021-08-17 18:06:46 -05:00
shells Merge pull request #134587 from r-ryantm/auto-update/spaceship-prompt 2021-08-17 18:40:10 -07:00
stdenv stdenv: Fix overriding + overrideAttrs 2021-08-18 17:22:50 +00:00
test
tools hottext: 1.3 -> 1.4 2021-08-18 16:03:45 +02:00
top-level stdenv: Fix overriding + overrideAttrs 2021-08-18 17:22:50 +00:00