From: Rene <pacoon@protonmail.com>
To: "guix-devel\\@gnu.org" <guix-devel@gnu.org>
Subject: guix system init question
Date: Sat, 25 Aug 2018 04:33:57 +0000 [thread overview]
Message-ID: <c7lwKkQDhTMo8kvvYf5WwyWFGSrACIQmHswdjAxtd0D2zLK4HK8Xy0lpHOJ6kd9ILyBsVGe5C9Jr-vifmC10XcPsKauZKi99GnjYe5N371o=@protonmail.com> (raw)
[-- 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))
next reply other threads:[~2018-08-25 4:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-25 4:33 Rene [this message]
2018-08-25 14:49 ` guix system init question Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='c7lwKkQDhTMo8kvvYf5WwyWFGSrACIQmHswdjAxtd0D2zLK4HK8Xy0lpHOJ6kd9ILyBsVGe5C9Jr-vifmC10XcPsKauZKi99GnjYe5N371o=@protonmail.com' \
--to=pacoon@protonmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).