bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54690: Cookbook: packagin example is missing use of input or output


From: Hartmut Goebel
Subject: bug#54690: Cookbook: packagin example is missing use of input or output
Date: Sun, 3 Apr 2022 14:25:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

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 via email to

[Prev in Thread] Current Thread [Next in Thread]