* guix system init question
@ 2018-08-25 4:33 Rene
2018-08-25 14:49 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Rene @ 2018-08-25 4:33 UTC (permalink / raw)
To: guix-devel\@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1333 bytes --]
Hello,
I'm updating my guix repository in Debian/Hurd with the commit 40f5c53d89da266055a1dd6571c380f5c57fe5f9.
When I run `sudo ./pre-inst-env guix system init doc/os-config-hurd.scm /guix --fallback --no-substitutes --no-build-hook` show the error:
`
Backtrace:
10 (primitive-load "/home/jin/guix/scripts/guix")
In guix/ui.scm:
1452:12 9 (run-guix-command _ . _)
In ice-9/boot-9.scm:
829:9 8 (catch _ _ #<procedure 3be9c0 at guix/ui.scm:513:2 (ke…> …)
829:9 7 (catch _ _ #<procedure 3be9d0 at guix/ui.scm:611:6 (ke…> …)
In guix/scripts/system.scm:
1109:8 6 (_)
983:6 5 (process-action _ _ _)
In guix/store.scm:
1444:24 4 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/system.scm:
714:2 3 (_ _)
In gnu/services.scm:
317:2 2 (_ _)
In gnu/system.scm:
434:28 1 (_ _)
996:34 0 (operating-system-boot-parameters-file #<<operating-sy…> …)
gnu/system.scm:996:34: In procedure operating-system-boot-parameters-file:
In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f
`
I have reviewed the code in (scripts system), but I have not had luck; Any idea what's happening?
Attachment operating system configuration template.
Thank you
Rene
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: os-config-hurd.scm --]
[-- Type: text/x-scheme; name="os-config-hurd.scm", Size: 975 bytes --]
(use-modules (gnu))
(use-package-modules hurd)
(operating-system
(host-name "antelope")
(timezone "Europe/Paris")
(locale "en_US.utf8")
;; Assuming /dev/sdX is the target hard disk, and "my-root" is
;; the label of the target root file system.
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/hd2s1")))
(kernel gnumach)
(file-systems (cons (file-system
(device "my-root")
(title 'label)
(mount-point "/guix")
(type "ext2"))
%base-file-systems))
(users (cons (user-account
(name "prometheus")
(comment "Welcome to the Hurd")
(group "users")
(home-directory "/home/prometheus"))
%base-user-accounts))
(packages (cons*
%base-packages-hurd))
(services %base-services-hurd))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: guix system init question
2018-08-25 4:33 guix system init question Rene
@ 2018-08-25 14:49 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-08-25 14:49 UTC (permalink / raw)
To: Rene; +Cc: guix-devel@gnu.org
Hi Rene,
Rene <pacoon@protonmail.com> skribis:
> I'm updating my guix repository in Debian/Hurd with the commit 40f5c53d89da266055a1dd6571c380f5c57fe5f9.
> When I run `sudo ./pre-inst-env guix system init doc/os-config-hurd.scm /guix --fallback --no-substitutes --no-build-hook` show the error:
>
> `
> Backtrace:
> 10 (primitive-load "/home/jin/guix/scripts/guix")
> In guix/ui.scm:
> 1452:12 9 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
> 829:9 8 (catch _ _ #<procedure 3be9c0 at guix/ui.scm:513:2 (ke…> …)
> 829:9 7 (catch _ _ #<procedure 3be9d0 at guix/ui.scm:611:6 (ke…> …)
> In guix/scripts/system.scm:
> 1109:8 6 (_)
> 983:6 5 (process-action _ _ _)
> In guix/store.scm:
> 1444:24 4 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
> In guix/scripts/system.scm:
> 714:2 3 (_ _)
> In gnu/services.scm:
> 317:2 2 (_ _)
> In gnu/system.scm:
> 434:28 1 (_ _)
> 996:34 0 (operating-system-boot-parameters-file #<<operating-sy…> …)
>
> gnu/system.scm:996:34: In procedure operating-system-boot-parameters-file:
> In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f
I can’t reproduce it on current master (I had to comment out
‘%base-services-hurd’ and ‘%base-packages-hurd’.)
Could it be that you’re using a special branch?
Could you try:
guix system init --on-error=repl …
to try and get more info at the REPL? (For instance, you can type
“,locals” at the REPL to examine the local variables at a given frame.)
TIA,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-25 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-25 4:33 guix system init question Rene
2018-08-25 14:49 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.