Skip to content

Commit 6ed0fe7

Browse files
committedJan 14, 2018
Merge remote-tracking branch 'upstream/master' into staging
Conflicts: pkgs/build-support/fetchbower/default.nix pkgs/build-support/fetchdarcs/default.nix pkgs/build-support/fetchgx/default.nix pkgs/development/python-modules/botocore/default.nix pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix pkgs/tools/admin/awscli/default.nix
2 parents c08042b + b986078 commit 6ed0fe7

File tree

410 files changed

+41189
-37575
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

410 files changed

+41189
-37575
lines changed
 

‎doc/cross-compilation.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<listitem>
6262
<para>
6363
The "target platform" attribute is, unlike the other two attributes, not actually fundamental to the process of building software.
64-
Instead, it is only relevant for compatability with building certain specific compilers and build tools.
64+
Instead, it is only relevant for compatibility with building certain specific compilers and build tools.
6565
It can be safely ignored for all other packages.
6666
</para>
6767
<para>
@@ -162,7 +162,7 @@
162162
<para>
163163
A runtime dependency between 2 packages implies that between them both the host and target platforms match.
164164
This is directly implied by the meaning of "host platform" and "runtime dependency":
165-
The package dependency exists while both packages are runnign on a single host platform.
165+
The package dependency exists while both packages are running on a single host platform.
166166
</para>
167167
<para>
168168
A build time dependency, however, implies a shift in platforms between the depending package and the depended-on package.

‎doc/stdenv.xml

+16-13
Original file line numberDiff line numberDiff line change
@@ -995,13 +995,14 @@ but only if the <varname>doCheck</varname> variable is enabled.</para>
995995

996996
<varlistentry>
997997
<term><varname>doCheck</varname></term>
998-
<listitem><para>If set to a non-empty string, the check phase is
999-
executed, otherwise it is skipped (default). Thus you should set
1000-
1001-
<programlisting>
1002-
doCheck = true;</programlisting>
1003-
1004-
in the derivation to enable checks.</para></listitem>
998+
<listitem><para>
999+
Controls whether the check phase is executed.
1000+
By default it is skipped, but if <varname>doCheck</varname> is set to true, the check phase is usually executed.
1001+
Thus you should set <programlisting>doCheck = true;</programlisting> in the derivation to enable checks.
1002+
The exception is cross compilation.
1003+
Cross compiled builds never run tests, no matter how <varname>doCheck</varname> is set,
1004+
as the newly-built program won't run on the platform used to build it.
1005+
</para></listitem>
10051006
</varlistentry>
10061007

10071008
<varlistentry>
@@ -1280,12 +1281,14 @@ installcheck</command>.</para>
12801281

12811282
<varlistentry>
12821283
<term><varname>doInstallCheck</varname></term>
1283-
<listitem><para>If set to a non-empty string, the installCheck phase is
1284-
executed, otherwise it is skipped (default). Thus you should set
1285-
1286-
<programlisting>doInstallCheck = true;</programlisting>
1287-
1288-
in the derivation to enable install checks.</para></listitem>
1284+
<listitem><para>
1285+
Controls whether the installCheck phase is executed.
1286+
By default it is skipped, but if <varname>doInstallCheck</varname> is set to true, the installCheck phase is usually executed.
1287+
Thus you should set <programlisting>doInstallCheck = true;</programlisting> in the derivation to enable install checks.
1288+
The exception is cross compilation.
1289+
Cross compiled builds never run tests, no matter how <varname>doInstallCheck</varname> is set,
1290+
as the newly-built program won't run on the platform used to build it.
1291+
</para></listitem>
12891292
</varlistentry>
12901293

12911294
<varlistentry>

0 commit comments

Comments
 (0)