Mark H Weaver writes: > I just started getting this error while trying to build my x86_64 GuixSD > system: > > --8<---------------cut here---------------start------------->8--- > mhw@jojen ~$ guix system build -K /etc/config-new.scm > Backtrace: > 14 (primitive-load "/home/mhw/guix/scripts/guix") > In guix/ui.scm: > 1331:12 13 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 837:9 12 (catch _ _ # …) > 837:9 11 (catch _ _ # …) > In guix/scripts/system.scm: > 1025:8 10 (_) > 908:6 9 (process-action _ _ _) > In guix/store.scm: > 1443:24 8 (run-with-store _ _ #:guile-for-build _ #:system _ # _) > In guix/scripts/system.scm: > 661:31 7 (_ _) > In srfi/srfi-1.scm: > 705:23 6 (filter-map #boot-parameters (sys…> . #) > In ice-9/boot-9.scm: > 837:9 5 (catch system-error # …) > In guix/scripts/system.scm: > 385:30 4 (_) > In gnu/system.scm: > 307:17 3 (read-boot-parameters-file "/var/guix/profiles/system-9…") > In ice-9/ports.scm: > 444:17 2 (call-with-input-file _ _ #:binary _ #:encoding _ # _) > In gnu/system.scm: > 282:10 1 (read-boot-parameters _) > 238:4 0 (device-sexp->device _) > > gnu/system.scm:238:4: In procedure device-sexp->device: > gnu/system.scm:238:4: Throw to key `match-error' with args `("match" "no matching pattern" #f)'. > --8<---------------cut here---------------end--------------->8--- [...] > ;; Specify a mapped device for the encrypted root partition. > ;; The UUID is that returned by 'cryptsetup luksUUID'. > (mapped-devices > (list (mapped-device > (source (uuid "a56c53e7-b345-4e24-a17b-6cf158dbc7d3")) > (target "jojen-root") > (type luks-device-mapping)))) > > (file-systems (cons* (file-system > ;; XXX This doesn't seem to work > ;; (device "jojen-root") > ;; (title 'label) > (device "/dev/mapper/jojen-root") > (title 'device) > (mount-point "/") > (type "btrfs") > (dependencies mapped-devices)) > %base-file-systems)) I have an identical setup, and the problem is that the parameters file contains "(store (device #f))". You can confirm this by `cat /var/guix/profiles/system-9-link/parameters`. This patch fixes the parameters generation, but you have to move away the profile symlinks that contains the broken parameters file before you can use `guix system` again).