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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user