···995995996996 <varlistentry>
997997 <term><varname>doCheck</varname></term>
998998- <listitem><para>If set to a non-empty string, the check phase is
999999- executed, otherwise it is skipped (default). Thus you should set
10001000-10011001- <programlisting>
10021002-doCheck = true;</programlisting>
10031003-10041004- in the derivation to enable checks.</para></listitem>
998998+ <listitem><para>
999999+ Controls whether the check phase is executed.
10001000+ By default it is skipped, but if <varname>doCheck</varname> is set to true, the check phase is usually executed.
10011001+ Thus you should set <programlisting>doCheck = true;</programlisting> in the derivation to enable checks.
10021002+ The exception is cross compilation.
10031003+ Cross compiled builds never run tests, no matter how <varname>doCheck</varname> is set,
10041004+ as the newly-built program won't run on the platform used to build it.
10051005+ </para></listitem>
10051006 </varlistentry>
1006100710071008 <varlistentry>
···1280128112811282 <varlistentry>
12821283 <term><varname>doInstallCheck</varname></term>
12831283- <listitem><para>If set to a non-empty string, the installCheck phase is
12841284- executed, otherwise it is skipped (default). Thus you should set
12851285-12861286- <programlisting>doInstallCheck = true;</programlisting>
12871287-12881288- in the derivation to enable install checks.</para></listitem>
12841284+ <listitem><para>
12851285+ Controls whether the installCheck phase is executed.
12861286+ By default it is skipped, but if <varname>doInstallCheck</varname> is set to true, the installCheck phase is usually executed.
12871287+ Thus you should set <programlisting>doInstallCheck = true;</programlisting> in the derivation to enable install checks.
12881288+ The exception is cross compilation.
12891289+ Cross compiled builds never run tests, no matter how <varname>doInstallCheck</varname> is set,
12901290+ as the newly-built program won't run on the platform used to build it.
12911291+ </para></listitem>
12891292 </varlistentry>
1290129312911294 <varlistentry>
+1-1
pkgs/applications/editors/ed/default.nix
···13131414 nativeBuildInputs = [ lzip ];
15151616- doCheck = hostPlatform == buildPlatform;
1616+ doCheck = true; # not cross;
17171818 meta = {
1919 description = "An implementation of the standard Unix editor";
+1-1
pkgs/development/libraries/boehm-gc/default.nix
···2020 [ "--enable-cplusplus" ]
2121 ++ lib.optional enableLargeConfig "--enable-large-config";
22222323- doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
2323+ doCheck = true; # not cross;
24242525 # Don't run the native `strip' when cross-compiling.
2626 dontStrip = hostPlatform != buildPlatform;
+1-1
pkgs/development/libraries/expat/default.nix
···15151616 outputMan = "dev"; # tiny page for a dev tool
17171818- doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
1818+ doCheck = true; # not cross;
19192020 preCheck = ''
2121 patchShebangs ./run.sh
···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";