diff options
author | Katharina Fey <kookie@spacekookie.de> | 2019-09-09 08:04:22 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2019-09-09 08:05:33 +0100 |
commit | e72ec381b2ef090a84985bce86d4a308b86d9c3b (patch) | |
tree | 82c5f20a6c9607d027730607971ccf2566ad02da /doc/functions | |
parent | 585f30c958ac076471e42f49898838269520c9db (diff) |
ociTools: fixing outdated documentation
Diffstat (limited to 'doc/functions')
-rw-r--r-- | doc/functions/ocitools.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/functions/ocitools.xml b/doc/functions/ocitools.xml index 4500c41a34aec..163bee2382e6f 100644 --- a/doc/functions/ocitools.xml +++ b/doc/functions/ocitools.xml @@ -31,10 +31,10 @@ <title>Build Container</title> <programlisting> buildContainer { - cmd = with pkgs; writeScript "run.sh" '' + args = [ (with pkgs; writeScript "run.sh" '' #!${bash}/bin/bash ${coreutils}/bin/exec ${bash}/bin/bash - ''; <co xml:id='ex-ociTools-buildContainer-1' /> + '').outPath ]; <co xml:id='ex-ociTools-buildContainer-1' /> mounts = { "/data" = { @@ -51,7 +51,7 @@ buildContainer { <calloutlist> <callout arearefs='ex-ociTools-buildContainer-1'> <para> - <varname>cmd</varname> specifies the program to run inside the container. + <varname>args</varname> specifies a set of arguments to run inside the container. This is the only required argument for <varname>buildContainer</varname>. All referenced packages inside the derivation will be made available inside the container |