[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with running system reconfigure on Guix in WSL2
From: |
Kristofer Hjelmtorp |
Subject: |
Problem with running system reconfigure on Guix in WSL2 |
Date: |
Tue, 27 Feb 2024 10:37:50 +0100 (CET) |
Hello
I recently wanted to try running Guix on WSL2. I followed the path of
https://othacehe.org/wsl-images-for-guix-system.html and created a guix image
tarball from wsl.scm.
Everything went fine while importting the tarball into WSL2 and running it. The
problem I have is when I want to update my system by running:
"sudo guix system reconfigure ~/.config/guix/system.scm"
I get an exceptions that complaines about the dummy-bootloader package.
Here is the backtrace:
building /gnu/store/zb4ca5xb865a3jlwbis857kzy1sx5kf7-system.drv...
/gnu/store/w7xbzicz3hfi8z6lkv4yymndwy77a82f-system
Backtrace:
19 (primitive-load "/home/guest/.config/guix/current/bin/g…")
In guix/ui.scm:
2324:7 18 (run-guix . _)
2287:10 17 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
859:3 15 (_)
839:4 14 (call-with-status-report _ _)
In guix/scripts/system.scm:
1305:4 13 (_)
In ice-9/boot-9.scm:
1752:10 12 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
661:37 11 (thunk)
1300:8 10 (call-with-build-handler _ _)
1300:8 9 (call-with-build-handler _ _)
1300:8 8 (call-with-build-handler _ _)
1300:8 7 (call-with-build-handler #<procedure 7fa0d09f9d20 at g…> …)
2180:25 6 (run-with-store #<store-connection 256.99 7fa0d09e8f00> …)
In guix/scripts/system.scm:
871:10 5 (_ _)
In srfi/srfi-1.scm:
634:9 4 (for-each #<procedure 7fa0d396e0a0 at ice-9/boot-9.scm…> …)
In unknown file:
3 (_ #<procedure 7fa0d39a1d60 at ice-9/boot-9.scm:798:28…> …)
In guix/derivations.scm:
697:28 2 (derivation->output-path "/gnu/store/dqasqlz2qivgbbl2b…" …)
In ice-9/boot-9.scm:
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure struct-vtable: Wrong type argument in position 1 (expecting
struct): "/gnu/store/dqasqlz2qivgbbl2bgkdw73mayb1l478-dummy-bootloader"
And here is my "config.scm":
(use-modules (gnu)
(gnu system images wsl2)
(gnu packages))
(use-package-modules screen emacs certs version-control bash)
(define wsl2-os
(operating-system
(inherit wsl-os)
(host-name "guix")
(file-systems (list (file-system
(device "/dev/sdc")
(mount-point "/")
(type "ext4")
(mount? #t))))
(users (cons* (user-account
(name "dev")
(group "users")
(supplementary-groups '("wheel" "audio" "video"
"input" "tty")) ; allow use of sudo
(password "password")
(comment "Developer"))
(user-account
(inherit %root-account)
(shell (wsl-boot-program "dev")))
%base-user-accounts))
(packages
(append
(map specification->package
(list "git"
"screen"
"nss-certs"
"emacs"))
%base-packages))))
wsl2-os
Any ideas of what the issue could be?
Best Regards
Kristofer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem with running system reconfigure on Guix in WSL2,
Kristofer Hjelmtorp <=