From 045eb8440964ab6dbd61c51e831edc9c7bb9ef2a Mon Sep 17 00:00:00 2001 From: Justin Humm Date: Tue, 3 Apr 2018 23:26:47 +0200 Subject: [PATCH] document that writeTextFile from Nixpkgs is an alternative to builtins.toFile --- doc/manual/expressions/builtins.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 This is not allowed because it would cause a cyclic dependency in the computation of the cryptographic hashes for - foo and bar. + foo and bar. + It is also not possible to reference the result of a derivation. + If you are using Nixpkgs, the writeTextFile function is able to + do that.