don’t run test phase
This commit is contained in:
parent
db23172c09
commit
6d39c62f2a
1 changed files with 17 additions and 0 deletions
|
@ -117,3 +117,20 @@ index 4d847e280f4..874b776c1e1 100644
|
||||||
+ inherit config overlays;
|
+ inherit config overlays;
|
||||||
+ localSystem = localSystem';
|
+ localSystem = localSystem';
|
||||||
})
|
})
|
||||||
|
diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix
|
||||||
|
index 6cb494d46e5..f53cfde3bad 100644
|
||||||
|
--- a/pkgs/stdenv/generic/make-derivation.nix
|
||||||
|
+++ b/pkgs/stdenv/generic/make-derivation.nix
|
||||||
|
@@ -165,10 +165,8 @@ let
|
||||||
|
, ... } @ attrs:
|
||||||
|
|
||||||
|
let
|
||||||
|
- # TODO(@oxij, @Ericson2314): This is here to keep the old semantics, remove when
|
||||||
|
- # no package has `doCheck = true`.
|
||||||
|
- doCheck' = doCheck && stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||||
|
- doInstallCheck' = doInstallCheck && stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||||
|
+ doCheck' = config.doCheckByDefault && stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||||
|
+ doInstallCheck' = config.doCheckByDefault && stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||||
|
|
||||||
|
separateDebugInfo' = separateDebugInfo && stdenv.hostPlatform.isLinux;
|
||||||
|
outputs' = outputs ++ lib.optional separateDebugInfo' "debug";
|
||||||
|
|
Loading…
Reference in a new issue