mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
Update pills/07-working-derivation.xml
Co-authored-by: lewo <lewo@abesis.fr>
This commit is contained in:
parent
0553e418eb
commit
729e470ad6
|
@ -303,7 +303,7 @@
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Then we meet the
|
Then we meet the
|
||||||
<link xlink:href="https://nixos.org/manual/nix/stable/expressions/language-constructs.html?highlight=inherit#inheriting-attributes"><code>inherit</code> keyword</link>.
|
<link xlink:href="https://nixos.org/manual/nix/stable/expressions/language-constructs.html#inheriting-attributes"><code>inherit</code> keyword</link>.
|
||||||
<code>inherit foo;</code> is equivalent to <code>foo = foo;</code>.
|
<code>inherit foo;</code> is equivalent to <code>foo = foo;</code>.
|
||||||
Similarly, <code>inherit foo bar;</code> is equivalent to <code>foo = foo; bar = bar;</code>.
|
Similarly, <code>inherit foo bar;</code> is equivalent to <code>foo = foo; bar = bar;</code>.
|
||||||
</para>
|
</para>
|
||||||
|
|
Loading…
Reference in a new issue