Extended packaging example from the Guix cookbook produces an error

  • Open
  • quality assurance status badge
Details
2 participants
  • Balthazar Potet
  • Marco Rimoldi
Owner
unassigned
Submitted by
Balthazar Potet
Severity
normal
B
B
Balthazar Potet wrote on 17 Feb 18:25 +0100
(address . bug-guix@gnu.org)
CAFKDfEKM1dgZgK06f0dyQfZQ7CfAUSCXc0R+iT+z3qYM1_wBeg@mail.gmail.com
Hello,

I tried to install the package defined in this section of the Guix

Running `guix package -f example.scm` gives the following error:

Backtrace:
In guix/store.scm:
2180:25 19 (run-with-store #<store-connection 256.99 7fea884c5dc0> …)
In guix/gexp.scm:
914:13 18 (_ _)
In guix/store.scm:
2008:8 17 (_ _)
In guix/gexp.scm:
299:22 16 (_ _)
In guix/store.scm:
2008:8 15 (_ _)
In guix/packages.scm:
1977:11 14 (_ _)
In guix/gexp.scm:
1201:2 13 (_ #<store-connection 256.99 7fea863822d0>)
1068:2 12 (_ _)
909:4 11 (_ _)
In guix/store.scm:
2065:12 10 (_ #<store-connection 256.99 7fea863822d0>)
1382:11 9 (map/accumulate-builds #<store-connection 256.99 7fea8…> …)
1300:8 8 (call-with-build-handler #<procedure 7fea85e07ea0 at g…> …)
2180:25 7 (run-with-store #<store-connection 256.99 7fea863822d0> …)
In guix/gexp.scm:
914:13 6 (_ _)
In guix/store.scm:
2008:13 5 (_ #<store-connection 256.99 7fea863822d0>)
In guix/gexp.scm:
299:51 4 (_)
In guix/packages.scm:
2081:2 3 Exception thrown while printing backtrace:
error: search-patches: unbound variable

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error: search-patches: unbound variable
M
M
Marco Rimoldi wrote on 19 Feb 22:18 +0100
(address . 69209@debbugs.gnu.org)
20240219221845.036b5fae@libero.it
Hello, I think the example is missing a line like this:

#:use-module (gnu packages)

cheers,
Marco
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 69209@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 69209
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch