diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2018-04-06T09·27+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-06T09·27+0200 |
commit | 27e9ce0eb2662762f019241b89b6687e9f6715fe (patch) | |
tree | 0fc9425948dd45ff53f67d1510dc56589e0c4a12 | |
parent | 0081a1eac221c996d287240bfe496db26587816b (diff) | |
parent | 045eb8440964ab6dbd61c51e831edc9c7bb9ef2a (diff) |
Merge pull request #2040 from erictapen/doc-tofile-writetextfile
document that writeTextFile from Nixpkgs is an alternative to toFile
-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> |