Merge pull request #2040 from erictapen/doc-tofile-writetextfile
document that writeTextFile from Nixpkgs is an alternative to toFile
This commit is contained in:
commit
27e9ce0eb2
1 changed files with 4 additions and 1 deletions
|
@ -1203,7 +1203,10 @@ in foo</programlisting>
|
||||||
|
|
||||||
This is not allowed because it would cause a cyclic dependency in
|
This is not allowed because it would cause a cyclic dependency in
|
||||||
the computation of the cryptographic hashes for
|
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>
|
</varlistentry>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue