Document the "out" usage in allowedReferences

This commit is contained in:
Gergely Risko 2014-08-21 23:46:28 +02:00 committed by Eelco Dolstra
parent b224ac1520
commit 4b0a720ddf

View file

@ -1561,10 +1561,11 @@ allowedReferences = [];
</programlisting> </programlisting>
enforces that the output of a derivation cannot have any runtime enforces that the output of a derivation cannot have any runtime
dependencies on its inputs. This is used in NixOS to check that dependencies on its inputs. To allow an output to have a runtime
generated files such as initial ramdisks for booting Linux dont dependency on itself, use <literal>"out"</literal> as a list item.
have accidental dependencies on other paths in the Nix This is used in NixOS to check that generated files such as
store.</para></listitem> initial ramdisks for booting Linux dont have accidental
dependencies on other paths in the Nix store.</para></listitem>
</varlistentry> </varlistentry>