Merge pull request #42464 from LnL7/manual-installcheck
doc: add installCheckTarget and installCheckFlags to manual
This commit is contained in:
commit
477efb9d87
@ -1732,7 +1732,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
|
||||||
@ -1740,6 +1740,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>
|
||||||
|
Loading…
Reference in New Issue
Block a user