Adds missing documentation for copyFileFromHost in NixOS tests
This commit is contained in:
parent
852acd8baf
commit
1200f9b9e2
1 changed files with 11 additions and 1 deletions
|
@ -262,8 +262,18 @@ startAll;
|
||||||
<literal>waitForWindow(qr/Terminal/)</literal>.</para></listitem>
|
<literal>waitForWindow(qr/Terminal/)</literal>.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><methodname>copyFileFromHost</methodname></term>
|
||||||
|
<listitem><para>Copies a file from host to machine, e.g.,
|
||||||
|
<literal>copyFileFromHost("myfile", "/etc/my/important/file")</literal>.</para>
|
||||||
|
<para>The first argument is the file on the host. The file needs to be
|
||||||
|
accessible while building the nix derivation. The second argument is
|
||||||
|
the location of the file on the machine.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in a new issue