3
0
Fork 0
forked from mirrors/nixpkgs

Typo in manual#stdenv - propagatedNativeBuildInputs

This commit is contained in:
Bruno Bieth 2017-11-13 17:55:18 +01:00
parent 3ba4c4cc6d
commit 0e05dfcfa2

View file

@ -231,7 +231,8 @@ genericBuild
<listitem><para> <listitem><para>
Like <varname>nativeBuildInputs</varname>, but these dependencies are <emphasis>propagated</emphasis>: Like <varname>nativeBuildInputs</varname>, but these dependencies are <emphasis>propagated</emphasis>:
that is, the dependencies listed here are added to the <varname>nativeBuildInputs</varname> of any package that uses <emphasis>this</emphasis> package as a dependency. that is, the dependencies listed here are added to the <varname>nativeBuildInputs</varname> of any package that uses <emphasis>this</emphasis> package as a dependency.
So if package Y has <literal>propagatedBuildInputs = [X]</literal>, and package Z has <literal>buildInputs = [Y]</literal>, then package X will appear in Zs build environment automatically. So if package Y has <literal>propagatedNativeBuildInputs = [X]</literal>, and package Z has <literal>nativeBuildInputs = [Y]</literal>,
then package X will appear in Zs build environment automatically.
</para></listitem> </para></listitem>
</varlistentry> </varlistentry>