unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54690: Cookbook: packagin example is missing use of input or output
@ 2022-04-03 12:25 Hartmut Goebel
  0 siblings, 0 replies; only message in thread
From: Hartmut Goebel @ 2022-04-03 12:25 UTC (permalink / raw)
  To: 54690

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 |





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-03 12:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-03 12:25 bug#54690: Cookbook: packagin example is missing use of input or output Hartmut Goebel

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).