Problem with Guile Hall's `dependecies` section in `hall.scm`.
I cannot add dependencies to hall.scm
.
-
Initialise
a-project
withhall init a-project -x
. -
Now change ./a-project/hall.scm into (lines changed are 12, 15, 16, and 18):
(hall-description (name "a-project") (prefix "") (version "0.1") (author "") (email "") (copyright (2024)) (synopsis "") (description "") (home-page "") (license gpl3+) (dependencies ("guile-irc")) ;; from (dependencies `()) (skip ()) (features ((guix #t) ;; from (guix #f) (use-guix-specs-for-dependencies #t) ;; from (use-guix-specs-for-dependencies #f) (native-language-support #f) (licensing #t) ;; from (licensing #f) )) (files (libraries ((scheme-file "a-project") (directory "a-project" ((scheme-file "hconfig"))))) (tests ((directory "tests" ()))) (programs ((directory "scripts" ()))) (documentation ((org-file "README") (symlink "README" "README.org") (text-file "HACKING") (text-file "COPYING") (directory "doc" ((texi-file "a-project"))))) (infrastructure ((scheme-file "guix") (text-file ".gitignore") (scheme-file "hall")))))
-
Trying to update the
guix.scm
with thehall dist
command I get the following error:;;; Failed to autoload specification->package in (gnu packages): ;;; no code for module (gnu packages) Backtrace: In srfi/srfi-1.scm: 586:29 19 (map1 ((prefix #<procedure prefix (project-prefix)>) # …)) 586:29 18 (map1 ((version #<procedure version (project-versi…>) …)) 586:29 17 (map1 ((author #<procedure author (project-author)>) # …)) 586:29 16 (map1 ((email #<procedure email (project-email)>) (…) …)) 586:29 15 (map1 ((copyright #<procedure copyright (project-c…>) …)) 586:29 14 (map1 ((synopsis #<procedure synopsis (project-syn…>) …)) 586:29 13 (map1 ((description #<procedure description (proje…>) …)) 586:29 12 (map1 ((home-page #<procedure home-page (project-h…>) …)) 586:29 11 (map1 ((license #<procedure license-prs (project-l…>) …)) 586:17 10 (map1 ((dependencies #<procedure dependencies (pro…>) …)) In hall/common.scm: 1520:2 9 (dependencies _) In ice-9/boot-9.scm: 1752:10 8 (with-exception-handler _ _ #:unwind? _ # _) In hall/common.scm: 1533:4 7 (_) In srfi/srfi-1.scm: 634:9 6 (for-each #<procedure dependency->package+module (item)> …) In hall/common.scm: 196:17 5 (dependency->package+module "guile-irc") 188:4 4 (guix-spec->package _) In ice-9/boot-9.scm: 1752:10 3 (with-exception-handler _ _ #:unwind? _ # _) In hall/common.scm: 191:7 2 (_) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1683:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1683:16: In procedure raise-exception: Unbound variable: specification->package