From 62f8399e6ac76af85ed72157bea2885d531c06fb Mon Sep 17 00:00:00 2001 From: Arne Babenhauserheide Date: Sun, 24 Nov 2024 00:32:36 +0100 Subject: pack: Add ‘--file=FILE’ with the same meaning as for ‘guix build’. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * guix/scripts/pack.scm (%options): add --file=FILE, but no shorthand (that’s already taken for format). * doc/guix.texi (Invoking guix pack): Document it. Change-Id: I87797fccdf218ead3b7f471a84034e8a8d566245 Signed-off-by: Ludovic Courtès --- doc/guix.texi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index ba9b75f370..0d461fb96a 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -7276,6 +7276,14 @@ This has the same purpose as the same-named option in @command{guix build} (@pxref{Additional Build Options, @option{--expression} in @command{guix build}}). +@item --file=@var{file} +build a pack the code within @var{file} evaluates to. + +This has the same purpose as the same-named option in @command{guix +build} (@pxref{Additional Build Options, @option{--file} in +@command{guix build}}), but it has no shorthand, because @option{-f} +already means @option{--format}. + @anchor{pack-manifest} @item --manifest=@var{file} @itemx -m @var{file} -- cgit v1.2.3