mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* New primop `readFile' to get the contents of a file as a string.
This commit is contained in:
parent
c370755583
commit
06f95dd07c
4 changed files with 23 additions and 0 deletions
|
@ -441,6 +441,15 @@ in config.someSetting</programlisting>
|
|||
-->
|
||||
|
||||
|
||||
<varlistentry><term><function>builtins.readFile</function>
|
||||
<replaceable>path</replaceable></term>
|
||||
|
||||
<listitem><para>Return the contents of the file
|
||||
<replaceable>path</replaceable> as a string.</para></listitem>
|
||||
|
||||
</varlistentry>
|
||||
|
||||
|
||||
<varlistentry><term><function>removeAttrs</function>
|
||||
<replaceable>attrs</replaceable> <replaceable>list</replaceable></term>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue