mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 02:06:16 +02:00
document that writeTextFile from Nixpkgs is an alternative to builtins.toFile
This commit is contained in:
parent
3fbaa230a2
commit
045eb84409
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