1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00

Rephrase adding to buildInputs explanation in 12.4

This commit is contained in:
gameboo 2020-07-25 17:06:01 +01:00
parent f280712c42
commit d746e6e318

View file

@ -90,7 +90,7 @@
</para>
<screen><xi:include href="./12/setup-sh.txt" parse="text" /></screen>
<para>
Now by adding derivations to <literal>buildInputs</literal>, will add the <filename>lib</filename>, <filename>include</filename> and <filename>bin</filename> paths automatically in <filename>setup.sh</filename>.
Now adding derivations to <literal>buildInputs</literal> will add their <filename>lib</filename>, <filename>include</filename> and <filename>bin</filename> paths automatically in <filename>setup.sh</filename>.
</para>
<para>
The <arg>-rpath</arg> flag in <command>ld</command> is needed because at runtime, the executable must use exactly that version of the library.