doc: add installCheckTarget and installCheckFlags to manual

Fixes #42393
This commit is contained in:
Daiderd Jordan 2018-06-23 21:24:04 +02:00
parent 798ad38c35
commit 8500e28d7b
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -1731,7 +1731,7 @@ set debug-file-directory ~/.nix-profile/lib/debug
Controls whether the installCheck phase is executed. By default it is Controls whether the installCheck phase is executed. By default it is
skipped, but if <varname>doInstallCheck</varname> is set to true, the skipped, but if <varname>doInstallCheck</varname> is set to true, the
installCheck phase is usually executed. Thus you should set installCheck phase is usually executed. Thus you should set
<programlisting>doInstallCheck = true;</programlisting> <programlisting>doInstallCheck = true;</programlisting>
in the derivation to enable install checks. The exception is cross in the derivation to enable install checks. The exception is cross
compilation. Cross compiled builds never run tests, no matter how compilation. Cross compiled builds never run tests, no matter how
<varname>doInstallCheck</varname> is set, as the newly-built program <varname>doInstallCheck</varname> is set, as the newly-built program
@ -1739,6 +1739,29 @@ set debug-file-directory ~/.nix-profile/lib/debug
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>
<varname>installCheckTarget</varname>
</term>
<listitem>
<para>
The make target that runs the install tests. Defaults to
<literal>installcheck</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>installCheckFlags</varname> / <varname>installCheckFlagsArray</varname>
</term>
<listitem>
<para>
A list of strings passed as additional flags to <command>make</command>.
Like <varname>makeFlags</varname> and <varname>makeFlagsArray</varname>,
but only used by the installCheck phase.
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term> <term>
<varname>installCheckInputs</varname> <varname>installCheckInputs</varname>