document that writeTextFile from Nixpkgs is an alternative to builtins.toFile

This commit is contained in:
Justin Humm 2018-04-03 23:26:47 +02:00
parent 3fbaa230a2
commit 045eb84409
No known key found for this signature in database
GPG key ID: 5F24E3BD56617EB2

View file

@ -1203,7 +1203,10 @@ in foo</programlisting>
This is not allowed because it would cause a cyclic dependency in
the computation of the cryptographic hashes for
<varname>foo</varname> and <varname>bar</varname>.</para></listitem>
<varname>foo</varname> and <varname>bar</varname>.</para>
<para>It is also not possible to reference the result of a derivation.
If you are using Nixpkgs, the <literal>writeTextFile</literal> function is able to
do that.</para></listitem>
</varlistentry>