summaryrefslogtreecommitdiffstats
path: root/pkgs/stdenv/native
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2016-12-19 08:10:47 -0800
committerJohn Ericson <Ericson2314@Yahoo.com>2017-01-13 10:36:11 -0500
commit0ef8b69d12d1ab1574568f5660b44feba1f44179 (patch)
tree753926b8722fae81634cd6050c00e71c9020afe1 /pkgs/stdenv/native
parentf673243aff0bc9ae4d2e96ccd60124ff9fe5b103 (diff)
top-level: Modernize stdenv.overrides giving it self and super
Document breaking change in 17.03 release notes
Diffstat (limited to 'pkgs/stdenv/native')
-rw-r--r--pkgs/stdenv/native/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/stdenv/native/default.nix b/pkgs/stdenv/native/default.nix
index 8396bd0cb017..5a2d2c965599 100644
--- a/pkgs/stdenv/native/default.nix
+++ b/pkgs/stdenv/native/default.nix
@@ -77,7 +77,7 @@ rec {
# A function that builds a "native" stdenv (one that uses tools in
# /usr etc.).
makeStdenv =
- { cc, fetchurl, extraPath ? [], overrides ? (pkgs: { }) }:
+ { cc, fetchurl, extraPath ? [], overrides ? (self: super: { }) }:
import ../generic {
preHook =
@@ -142,7 +142,7 @@ rec {
stdenvBoot2 = makeStdenv {
inherit cc fetchurl;
extraPath = [ stdenvBoot1Pkgs.xz ];
- overrides = pkgs: { inherit (stdenvBoot1Pkgs) xz; };
+ overrides = self: super: { inherit (stdenvBoot1Pkgs) xz; };
};