stdenv: Fix __ignoreNulls
Commit 262c21ed464a2593b54ec274a3b84083c0795f2d purported to enable ignoreNulls, but it was bogus because it set the flag on the wrong derivation (i.e. stdenv rather than the result of mkDerivation).
This commit is contained in:
parent
f46108aaf0
commit
0da7fadce3
@ -55,8 +55,6 @@ let
|
|||||||
|
|
||||||
propagatedUserEnvPkgs = [gcc] ++
|
propagatedUserEnvPkgs = [gcc] ++
|
||||||
lib.filter lib.isDerivation initialPath;
|
lib.filter lib.isDerivation initialPath;
|
||||||
|
|
||||||
__ignoreNulls = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// rec {
|
// rec {
|
||||||
@ -103,6 +101,7 @@ let
|
|||||||
stdenv = result;
|
stdenv = result;
|
||||||
system = result.system;
|
system = result.system;
|
||||||
userHook = config.stdenv.userHook or null;
|
userHook = config.stdenv.userHook or null;
|
||||||
|
__ignoreNulls = true;
|
||||||
|
|
||||||
# Inputs built by the cross compiler.
|
# Inputs built by the cross compiler.
|
||||||
buildInputs = lib.optionals (crossConfig != null) (buildInputs ++ extraBuildInputs);
|
buildInputs = lib.optionals (crossConfig != null) (buildInputs ++ extraBuildInputs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user