diff options
author | John Ericson <jericson@galois.com> | 2016-12-15 17:09:46 -0500 |
---|---|---|
committer | John Ericson <jericson@galois.com> | 2016-12-15 17:09:46 -0500 |
commit | 19fbe80c3d1f3b5888a3f78f2df2af07355ea498 (patch) | |
tree | f7b4257bc240ccee441e358709a833e102b7e0ba /pkgs/top-level/default.nix | |
parent | 7960a1b1b8fa1ca097bee2971fbbc18bda3dcadd (diff) |
top-level: avoid another `assert false` while we're at it
Diffstat (limited to 'pkgs/top-level/default.nix')
-rw-r--r-- | pkgs/top-level/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/top-level/default.nix b/pkgs/top-level/default.nix index 31c51215676b1..658f149908c76 100644 --- a/pkgs/top-level/default.nix +++ b/pkgs/top-level/default.nix @@ -25,7 +25,7 @@ , # The standard environment for building packages, or rather a function # providing it. See below for the arguments given to that function. - stdenv ? assert false; null + stdenvFunc ? import ../stdenv , crossSystem ? null , platform ? assert false; null @@ -76,7 +76,7 @@ in let inherit lib nixpkgsFun; } // newArgs); - stdenv = (args.stdenv or (import ../stdenv)) { + stdenv = stdenvFunc { inherit lib allPackages system platform crossSystem config; }; |