summary refs log tree commit diff
path: root/doc/stdenv.xml
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-08-31 20:08:16 +0200
committerGitHub <noreply@github.com>2018-08-31 20:08:16 +0200
commit477efb9d8752799c4de7b93289f3be35c3d7ea86 (patch)
tree1f23dc01353fd6cd0a5848caa4cb7289ac377907 /doc/stdenv.xml
parentc49baf9da44dfcce2078066189ec99f98f1e8db4 (diff)
parent8500e28d7bff6697997f6f5924eab3aaa0ffd78c (diff)
downloadnixlib-477efb9d8752799c4de7b93289f3be35c3d7ea86.tar
nixlib-477efb9d8752799c4de7b93289f3be35c3d7ea86.tar.gz
nixlib-477efb9d8752799c4de7b93289f3be35c3d7ea86.tar.bz2
nixlib-477efb9d8752799c4de7b93289f3be35c3d7ea86.tar.lz
nixlib-477efb9d8752799c4de7b93289f3be35c3d7ea86.tar.xz
nixlib-477efb9d8752799c4de7b93289f3be35c3d7ea86.tar.zst
nixlib-477efb9d8752799c4de7b93289f3be35c3d7ea86.zip
Merge pull request #42464 from LnL7/manual-installcheck
doc: add installCheckTarget and installCheckFlags to manual
Diffstat (limited to 'doc/stdenv.xml')
-rw-r--r--doc/stdenv.xml25
1 files changed, 24 insertions, 1 deletions
diff --git a/doc/stdenv.xml b/doc/stdenv.xml
index 94bd7365dd9a..f751cfa5b410 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>