From e72ec381b2ef090a84985bce86d4a308b86d9c3b Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Mon, 9 Sep 2019 08:04:22 +0100 Subject: [PATCH] ociTools: fixing outdated documentation --- doc/functions/ocitools.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/functions/ocitools.xml b/doc/functions/ocitools.xml index 4500c41a34a..163bee2382e 100644 --- a/doc/functions/ocitools.xml +++ b/doc/functions/ocitools.xml @@ -31,10 +31,10 @@ Build Container buildContainer { - cmd = with pkgs; writeScript "run.sh" '' + args = [ (with pkgs; writeScript "run.sh" '' #!${bash}/bin/bash ${coreutils}/bin/exec ${bash}/bin/bash - ''; + '').outPath ]; mounts = { "/data" = { @@ -51,7 +51,7 @@ buildContainer { - cmd specifies the program to run inside the container. + args specifies a set of arguments to run inside the container. This is the only required argument for buildContainer. All referenced packages inside the derivation will be made available inside the container