diff options
author | Justin Humm <justin.humm@posteo.de> | 2018-04-03T21·26+0200 |
---|---|---|
committer | Justin Humm <justin.humm@posteo.de> | 2018-04-03T21·26+0200 |
commit | 045eb8440964ab6dbd61c51e831edc9c7bb9ef2a (patch) | |
tree | 6633e521e46dcf3e8b669ab8db8b6402afc622ea /doc | |
parent | 3fbaa230a23ef47100eb1f117008a1cee85fcf5e (diff) |
document that writeTextFile from Nixpkgs is an alternative to builtins.toFile
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/expressions/builtins.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml index 47b98460adf6..ac1fe7e2fafe 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> |