Merge pull request #2040 from erictapen/doc-tofile-writetextfile

document that writeTextFile from Nixpkgs is an alternative to toFile
This commit is contained in:
Eelco Dolstra 2018-04-06 11:27:55 +02:00 committed by GitHub
commit 27e9ce0eb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>