From 0da7fadce32289e926415629a697028aa7296b96 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 1 Jul 2014 16:55:14 +0200 Subject: 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). --- pkgs/stdenv/generic/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkgs/stdenv') diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index 6047ecf853c5e..0d8355e89cc38 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -55,8 +55,6 @@ let propagatedUserEnvPkgs = [gcc] ++ lib.filter lib.isDerivation initialPath; - - __ignoreNulls = true; } // rec { @@ -103,6 +101,7 @@ let stdenv = result; system = result.system; userHook = config.stdenv.userHook or null; + __ignoreNulls = true; # Inputs built by the cross compiler. buildInputs = lib.optionals (crossConfig != null) (buildInputs ++ extraBuildInputs); -- cgit 1.4.1