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.
···21212222 enableParallelBuilding = true;
23232424- doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
2424+ doCheck = true; # not cross;
2525 checkTarget = "test";
26262727 meta = with stdenv.lib; {
+1-1
pkgs/development/libraries/libmpc/default.nix
···18181919 CFLAGS = "-I${gmp.dev}/include";
20202121- doCheck = hostPlatform == buildPlatform;
2121+ doCheck = true; # not cross;
22222323 meta = {
2424 description = "Library for multiprecision complex arithmetic with exact rounding";
+1-1
pkgs/development/libraries/libpng/default.nix
···30303131 # it's hard to cross-run tests and some check programs didn't compile anyway
3232 makeFlags = stdenv.lib.optional (!doCheck) "check_PROGRAMS=";
3333- doCheck = hostPlatform == buildPlatform;
3333+ doCheck = true; # not cross;
34343535 passthru = { inherit zlib; };
3636
+1-1
pkgs/development/libraries/libsigsegv/default.nix
···13131414 patches = if enableSigbusFix then [ ./sigbus_fix.patch ] else null;
15151616- doCheck = hostPlatform == buildPlatform;
1616+ doCheck = true; # not cross;
17171818 meta = {
1919 homepage = http://www.gnu.org/software/libsigsegv/;
+1-1
pkgs/development/libraries/libtiff/default.nix
···29293030 enableParallelBuilding = true;
31313232- doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
3232+ doCheck = true; # not cross;
33333434 meta = with stdenv.lib; {
3535 description = "Library and utilities for working with the TIFF image file format";
+1-1
pkgs/development/libraries/lzo/default.nix
···12121313 enableParallelBuilding = true;
14141515- doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
1515+ doCheck = true; # not cross;
16161717 meta = with stdenv.lib; {
1818 description = "Real-time data (de)compression library";