GNU bug report logs - #74500
pack: add ‘--file=FILE’ with the same meaning as for guix build

Previous Next

Package: guix-patches;

Reported by: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>

Date: Sat, 23 Nov 2024 23:38:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 74500-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
Cc: 74500-done <at> debbugs.gnu.org
Subject: Re: bug#74500: pack: add ‘--file=FILE’ with the same meaning as for guix build
Date: Mon, 02 Dec 2024 11:59:37 +0100
[Message part 1 (text/plain, inline)]
Hi,

"Dr. Arne Babenhauserheide" <arne_bab <at> web.de> skribis:

> From a1956bea3a33fed9a01246c9e5e394a7dd9daf6c Mon Sep 17 00:00:00 2001
> Message-ID: <a1956bea3a33fed9a01246c9e5e394a7dd9daf6c.1732404894.git.arne_bab <at> web.de>
> From: Arne Babenhauserheide <arne_bab <at> web.de>
> Date: Sun, 24 Nov 2024 00:32:36 +0100
> Subject: [PATCH] =?UTF-8?q?pack:=20add=20=E2=80=98--file=3DFILE=E2=80=99?=
>  =?UTF-8?q?=20with=20the=20same=20meaning=20as=20for=20guix=20build?=
> 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 --file
>
> Change-Id: I87797fccdf218ead3b7f471a84034e8a8d566245

Applied with this minor change:

[Message part 2 (text/x-patch, inline)]
diff --git a/doc/guix.texi b/doc/guix.texi
index 0d461fb96a..594d152de6 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -7277,7 +7277,8 @@ Invoking guix pack
 @command{guix build}}).
 
 @item --file=@var{file}
-build a pack the code within @var{file} evaluates to.
+Build a pack containing the package or other object 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
[Message part 3 (text/plain, inline)]
Thanks!

Ludo’.

This bug report was last modified 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.