unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 54690@debbugs.gnu.org
Subject: bug#54690: Cookbook: packagin example is missing use of input or output
Date: Sun, 3 Apr 2022 14:25:45 +0200	[thread overview]
Message-ID: <85e87c25-db00-f981-c140-e5b21bd122cb@crazy-compilers.com> (raw)

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@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |





                 reply	other threads:[~2022-04-03 12:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85e87c25-db00-f981-c140-e5b21bd122cb@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=54690@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).