diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2016-12-19 08:10:47 -0800 |
---|---|---|
committer | John Ericson <Ericson2314@Yahoo.com> | 2017-01-13 10:36:11 -0500 |
commit | 0ef8b69d12d1ab1574568f5660b44feba1f44179 (patch) | |
tree | 753926b8722fae81634cd6050c00e71c9020afe1 /pkgs/top-level/stage.nix | |
parent | f673243aff0bc9ae4d2e96ccd60124ff9fe5b103 (diff) | |
download | nixlib-0ef8b69d12d1ab1574568f5660b44feba1f44179.tar nixlib-0ef8b69d12d1ab1574568f5660b44feba1f44179.tar.gz nixlib-0ef8b69d12d1ab1574568f5660b44feba1f44179.tar.bz2 nixlib-0ef8b69d12d1ab1574568f5660b44feba1f44179.tar.lz nixlib-0ef8b69d12d1ab1574568f5660b44feba1f44179.tar.xz nixlib-0ef8b69d12d1ab1574568f5660b44feba1f44179.tar.zst nixlib-0ef8b69d12d1ab1574568f5660b44feba1f44179.zip |
top-level: Modernize stdenv.overrides giving it self and super
Document breaking change in 17.03 release notes
Diffstat (limited to 'pkgs/top-level/stage.nix')
-rw-r--r-- | pkgs/top-level/stage.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index 1d6305151ca6..7c8860bf4e97 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -67,7 +67,7 @@ let # crossStdenv adapter. stdenvOverrides = self: super: lib.optionalAttrs (crossSystem == null && super.stdenv ? overrides) - (super.stdenv.overrides super); + (super.stdenv.overrides self super); # Allow packages to be overridden globally via the `packageOverrides' # configuration option, which must be a function that takes `pkgs' |