summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-09-19 11:14:42 +0200
committerLudovic Courtès <ludo@gnu.org>2015-10-10 22:46:15 +0200
commitf3f427c2e930e2fb1a72ff8bb9b4a870edfbf007 (patch)
tree84d2c6c92a505f0387e0ca3e65d99bf5107956f6 /doc
parent23afe939a2282369900e0e7a33405cc613d7a405 (diff)
downloadguix-patches-f3f427c2e930e2fb1a72ff8bb9b4a870edfbf007.tar
guix-patches-f3f427c2e930e2fb1a72ff8bb9b4a870edfbf007.tar.gz
guix system: Add '--derivation'.
* guix/scripts/system.scm (perform-action): Add #:derivations-only? parameter and honor it. (show-help, %options): Add '--derivation'. (guix-system): Pass #:derivations-only? to 'perform-action'. * tests/guix-system.sh: Test it. * doc/guix.texi (Invoking guix system): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 80c8d873da..1b25bd938f 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6916,6 +6916,11 @@ using the following command:
Attempt to build for @var{system} instead of the host's system type.
This works as per @command{guix build} (@pxref{Invoking guix build}).
+@item --derivation
+@itemx -d
+Return the derivation file name of the given operating system without
+building anything.
+
@item --image-size=@var{size}
For the @code{vm-image} and @code{disk-image} actions, create an image
of the given @var{size}. @var{size} may be a number of bytes, or it may