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.
···2122 enableParallelBuilding = true;
2324- doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
25 checkTarget = "test";
2627 meta = with stdenv.lib; {
···2122 enableParallelBuilding = true;
2324+ doCheck = true; # not cross;
25 checkTarget = "test";
2627 meta = with stdenv.lib; {
+1-1
pkgs/development/libraries/libmpc/default.nix
···1819 CFLAGS = "-I${gmp.dev}/include";
2021- doCheck = hostPlatform == buildPlatform;
2223 meta = {
24 description = "Library for multiprecision complex arithmetic with exact rounding";
···1819 CFLAGS = "-I${gmp.dev}/include";
2021+ doCheck = true; # not cross;
2223 meta = {
24 description = "Library for multiprecision complex arithmetic with exact rounding";
+1-1
pkgs/development/libraries/libpng/default.nix
···3031 # it's hard to cross-run tests and some check programs didn't compile anyway
32 makeFlags = stdenv.lib.optional (!doCheck) "check_PROGRAMS=";
33- doCheck = hostPlatform == buildPlatform;
3435 passthru = { inherit zlib; };
36
···3031 # it's hard to cross-run tests and some check programs didn't compile anyway
32 makeFlags = stdenv.lib.optional (!doCheck) "check_PROGRAMS=";
33+ doCheck = true; # not cross;
3435 passthru = { inherit zlib; };
36
+1-1
pkgs/development/libraries/libsigsegv/default.nix
···1314 patches = if enableSigbusFix then [ ./sigbus_fix.patch ] else null;
1516- doCheck = hostPlatform == buildPlatform;
1718 meta = {
19 homepage = http://www.gnu.org/software/libsigsegv/;
···1314 patches = if enableSigbusFix then [ ./sigbus_fix.patch ] else null;
1516+ doCheck = true; # not cross;
1718 meta = {
19 homepage = http://www.gnu.org/software/libsigsegv/;
+1-1
pkgs/development/libraries/libtiff/default.nix
···2930 enableParallelBuilding = true;
3132- doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
3334 meta = with stdenv.lib; {
35 description = "Library and utilities for working with the TIFF image file format";
···2930 enableParallelBuilding = true;
3132+ doCheck = true; # not cross;
3334 meta = with stdenv.lib; {
35 description = "Library and utilities for working with the TIFF image file format";
+1-1
pkgs/development/libraries/lzo/default.nix
···1213 enableParallelBuilding = true;
1415- doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
1617 meta = with stdenv.lib; {
18 description = "Real-time data (de)compression library";
···1213 enableParallelBuilding = true;
1415+ doCheck = true; # not cross;
1617 meta = with stdenv.lib; {
18 description = "Real-time data (de)compression library";
···1516 nativeBuildInputs = [ lzip ];
1718+ doCheck = true; # not cross;
19 configureFlags = [ "CXX=${stdenv.cc.targetPrefix}c++" ];
2021 meta = with stdenv.lib; {
+1-1
pkgs/tools/text/gnupatch/default.nix
···17 "ac_cv_func_strnlen_working=yes"
18 ];
1920- doCheck = hostPlatform == buildPlatform;
2122 meta = {
23 description = "GNU Patch, a program to apply differences to files";
···17 "ac_cv_func_strnlen_working=yes"
18 ];
1920+ doCheck = true; # not cross;
2122 meta = {
23 description = "GNU Patch, a program to apply differences to files";