GNU bug report logs - #54690
Cookbook: packagin example is missing use of input or output

Previous Next

Package: guix;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Sun, 3 Apr 2022 12:26:02 UTC

Severity: normal

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54690 in the body.
You can then email your comments to 54690 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#54690; Package guix. (Sun, 03 Apr 2022 12:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 03 Apr 2022 12:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Cookbook: packagin example is missing use of input or output
Date: Sun, 3 Apr 2022 14:25:45 +0200
Hi,

the extended Packaging example in the Cookbook 
https://guix.gnu.org/cookbook/en/html_node/Extended-example.html is 
missing examples how to use the inputs and outputs in phases (new style).

Also the example seems to not use g-exps, as it still uses the backquote:

      (arguments
       `(#:tests? #true                         ; Run the test suite (this is the default)
         #:configure-flags '("-DUSE_SHA1DC=ON") ; SHA-1 collision detection
         #:phases
         (modify-phases %standard-phases
           (add-after 'unpack 'fix-hardcoded-paths

Also the „Inputs“ and „Outputs“ sections do not show an example. This 
could be copied from above. Maybe it is even better to show how to use 
inputs and outputs in phases here - and not have it in the example above 
- as I did go directly to the „Inputs“ section.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel <at> crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |





Reply sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
You have taken responsibility. (Fri, 05 Sep 2025 17:43:01 GMT) Full text and rfc822 format available.

Notification sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
bug acknowledged by developer. (Fri, 05 Sep 2025 17:43:02 GMT) Full text and rfc822 format available.

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

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 54690-close <at> debbugs.gnu.org
Subject: Fixed meanwhile
Date: Fri, 5 Sep 2025 19:42:06 +0200
Fixed meanwhile




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 04 Oct 2025 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 44 days ago.

Previous Next


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