aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorJustin Humm <justin.humm@posteo.de>2018-04-03 23:26:47 +0200
committerJustin Humm <justin.humm@posteo.de>2018-04-03 23:26:47 +0200
commit045eb8440964ab6dbd61c51e831edc9c7bb9ef2a (patch)
tree6633e521e46dcf3e8b669ab8db8b6402afc622ea /doc/manual
parent3fbaa230a23ef47100eb1f117008a1cee85fcf5e (diff)
document that writeTextFile from Nixpkgs is an alternative to builtins.toFile
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/expressions/builtins.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml
index 47b98460a..ac1fe7e2f 100644
--- a/doc/manual/expressions/builtins.xml
+++ b/doc/manual/expressions/builtins.xml
@@ -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>