diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-08-31 20:08:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-31 20:08:16 +0200 |
commit | 477efb9d8752799c4de7b93289f3be35c3d7ea86 (patch) | |
tree | 1f23dc01353fd6cd0a5848caa4cb7289ac377907 | |
parent | c49baf9da44dfcce2078066189ec99f98f1e8db4 (diff) | |
parent | 8500e28d7bff6697997f6f5924eab3aaa0ffd78c (diff) |
Merge pull request #42464 from LnL7/manual-installcheck
doc: add installCheckTarget and installCheckFlags to manual
-rw-r--r-- | doc/stdenv.xml | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/doc/stdenv.xml b/doc/stdenv.xml index 94bd7365dd9a6..f751cfa5b410b 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -1732,7 +1732,7 @@ set debug-file-directory ~/.nix-profile/lib/debug Controls whether the installCheck phase is executed. By default it is skipped, but if <varname>doInstallCheck</varname> is set to true, the 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 compilation. Cross compiled builds never run tests, no matter how <varname>doInstallCheck</varname> is set, as the newly-built program @@ -1742,6 +1742,29 @@ set debug-file-directory ~/.nix-profile/lib/debug </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> + <term> <varname>installCheckInputs</varname> </term> <listitem> |