treewide: Simplify some doCheck calls

In anticipation of what I outline in #33599, I only simplify exactly those
`doCheck`s which are equal to `hostPlatform != buildPlatform`. I also stick a
comment next to them so I can grep for them later.
This commit is contained in:
John Ericson
2018-01-09 12:37:38 -05:00
parent 4e907dbca1
commit 133b4658df
14 changed files with 14 additions and 15 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
{ stdenv, fetchurl, m4, cxx ? true
, buildPackages
, buildPlatform, hostPlatform
, withStatic ? false }:
let inherit (stdenv.lib) optional optionalString; in
@@ -43,7 +42,7 @@ let self = stdenv.mkDerivation rec {
configureFlagsArray+=("--build=$(./configfsf.guess)")
'';
doCheck = buildPlatform == hostPlatform;
doCheck = true; # not cross;
dontDisableStatic = withStatic;