From 83cfa0247b68adf8fc6461792aa7cdc4f0d838ae Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 7 Apr 2017 22:20:28 +0200 Subject: pack: Add '--expression'. * guix/scripts/pack.scm (%options, show-help): Add '--expression'. (guix-pack)[maybe-package-argument]: New procedure. Use it, and remove variable 'specs'. * doc/guix.texi (Invoking guix pack): Document '--expression'. --- doc/guix.texi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index d413ea4a50..07ae660f77 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -2476,6 +2476,14 @@ This produces a tarball that follows the Docker Image Specification}. @end table +@item --expression=@var{expr} +@itemx -e @var{expr} +Consider the package @var{expr} evaluates to. + +This has the same purpose as the same-named option in @command{guix +build} (@pxref{Additional Build Options, @code{--expression} in +@command{guix build}}). + @item --system=@var{system} @itemx -s @var{system} Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of -- cgit v1.2.3