summary refs log tree commit diff
path: root/doc/stdenv.xml
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2018-03-15 00:00:04 +0000
committerJan Malakhovski <oxij@oxij.org>2018-04-26 20:22:51 +0000
commit87651b32fe44b9cdeb5dc55d6197d5c5158ce42a (patch)
treec42b7d2b507b7270a83eeb515339fa69401b4232 /doc/stdenv.xml
parent9345fc51d111bb4a35afa86fb1617855bcade43d (diff)
downloadnixlib-87651b32fe44b9cdeb5dc55d6197d5c5158ce42a.tar
nixlib-87651b32fe44b9cdeb5dc55d6197d5c5158ce42a.tar.gz
nixlib-87651b32fe44b9cdeb5dc55d6197d5c5158ce42a.tar.bz2
nixlib-87651b32fe44b9cdeb5dc55d6197d5c5158ce42a.tar.lz
nixlib-87651b32fe44b9cdeb5dc55d6197d5c5158ce42a.tar.xz
nixlib-87651b32fe44b9cdeb5dc55d6197d5c5158ce42a.tar.zst
nixlib-87651b32fe44b9cdeb5dc55d6197d5c5158ce42a.zip
stdenv: steal `checkInputs` from buildPythonPackage
Note that a bunch of non-python packages use this attribute already.
Some of those are clearly unaware of the fact that this attribute does
not exists in stdenv because they define it but don't to add it to
their `bulidInputs` :)

Also note that I use `buildInputs` here and only handle regular
builds because python and haskell builders do it this way and I'm not
sure how to properly handle the cross-compilation case.
Diffstat (limited to 'doc/stdenv.xml')
-rw-r--r--doc/stdenv.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/stdenv.xml b/doc/stdenv.xml
index 2a3316b8d018..31d3d0ca3c4e 100644
--- a/doc/stdenv.xml
+++ b/doc/stdenv.xml
@@ -1006,6 +1006,13 @@ but only if the <varname>doCheck</varname> variable is enabled.</para>
   </varlistentry>
 
   <varlistentry>
+    <term><varname>checkInputs</varname></term>
+    <listitem><para>
+      A list of dependencies used by the phase. This gets included in <varname>buildInputs</varname> when <varname>doCheck</varname> is set.
+    </para></listitem>
+  </varlistentry>
+
+  <varlistentry>
     <term><varname>makeFlags</varname> /
     <varname>makeFlagsArray</varname> /
     <varname>makefile</varname></term>
@@ -1292,6 +1299,13 @@ installcheck</command>.</para>
   </varlistentry>
 
   <varlistentry>
+    <term><varname>installCheckInputs</varname></term>
+    <listitem><para>
+      A list of dependencies used by the phase. This gets included in <varname>buildInputs</varname> when <varname>doInstallCheck</varname> is set.
+    </para></listitem>
+  </varlistentry>
+
+  <varlistentry>
     <term><varname>preInstallCheck</varname></term>
     <listitem><para>Hook executed at the start of the installCheck
     phase.</para></listitem>