diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-06-23 21:24:04 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-06-23 21:24:52 +0200 |
commit | 8500e28d7bff6697997f6f5924eab3aaa0ffd78c (patch) | |
tree | 7e1845941e835e140cadd19d912d00abf541c1e2 /doc | |
parent | 798ad38c35cabd845241d120553b9cdf2c150b41 (diff) | |
download | nixpkgs-8500e28d7bff6697997f6f5924eab3aaa0ffd78c.tar nixpkgs-8500e28d7bff6697997f6f5924eab3aaa0ffd78c.tar.gz nixpkgs-8500e28d7bff6697997f6f5924eab3aaa0ffd78c.tar.bz2 nixpkgs-8500e28d7bff6697997f6f5924eab3aaa0ffd78c.tar.lz nixpkgs-8500e28d7bff6697997f6f5924eab3aaa0ffd78c.tar.xz nixpkgs-8500e28d7bff6697997f6f5924eab3aaa0ffd78c.tar.zst nixpkgs-8500e28d7bff6697997f6f5924eab3aaa0ffd78c.zip |
doc: add installCheckTarget and installCheckFlags to manual
Fixes #42393
Diffstat (limited to 'doc')
-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 e7f52377e68..e0706a296e0 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -1731,7 +1731,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 @@ -1741,6 +1741,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> |