Hello,
If you have empty manifest, the error is not very telling.
$ echo | guix pack -m /dev/stdin
Backtrace:
16 (primitive-load "/home/wolf/.config/guix/current/bin/gu…")
In guix/ui.scm:
2514:7 15 (run-guix . _)
2477:10 14 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1784:12 13 (with-exception-handler _ _ #:unwind? _ # _)
1784:12 12 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
515:37 11 (thunk)
In guix/status.scm:
842:4 10 (call-with-status-report _ _)
In guix/store.scm:
1130:8 9 (call-with-build-handler #<procedure 7f3ae95a1930 at g…> …)
In guix/scripts/pack.scm:
1757:12 8 (_)
In guix/profiles.scm:
697:12 7 (concatenate-manifests _)
In srfi/srfi-1.scm:
789:15 6 (append-map #<procedure %manifest-entries-procedure (s)> …)
702:17 5 (map1 (#<unspecified>))
In guix/profiles.scm:
208:0 4 (%manifest-entries-procedure _)
In ice-9/boot-9.scm:
1705:22 3 (raise-exception _ #:continuable? _)
In guix/store.scm:
522:30 2 (_ _)
In ice-9/boot-9.scm:
1705:22 1 (raise-exception _ #:continuable? _)
In guix/ui.scm:
1033:18 0 (_ _)
guix/ui.scm:1033:18: In procedure struct-vtable: Wrong type argument in
position 1 (expecting struct): #<unspecified>
Have a nice day,
Tomas
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.