Hello, I've tried to install the Guix system from my current system
("Arch Linux") where I use the Guix package manager:

  ./pre-inst-env guix system init /path/to/my-os-config.scm /mnt/guix

Unfortunately it failed (os-config and the backtrace are attached).
So I wonder: is installing from another distro supported? or the only
right way is to use an usb image?

Thanks in advance.

(use-modules (gnu))

(operating-system
  (host-name "hn")
  (timezone "Europe/Paris")

  (bootloader
   (grub-configuration (device "/dev/sda")))

  (file-systems
   (cons (file-system
           (device "/dev/sda7")
           (mount-point "/")
           (type "ext4"))
         %base-file-systems))

  (users
   (list (user-account
          (name "al")
          (home-directory "/home/al")
          (group "users")
          (supplementary-groups '("wheel" "audio" "video"))))))
Backtrace:
In ice-9/boot-9.scm:
 157: 17 [catch #t #<catch-closure 85f7c10> ...]
In unknown file:
   ?: 16 [apply-smob/1 #<catch-closure 85f7c10>]
In ice-9/boot-9.scm:
  63: 15 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 14 [eval # #]
In ice-9/boot-9.scm:
2401: 13 [save-module-excursion #<procedure 8606ca0 at ice-9/boot-9.scm:4045:3 
()>]
4050: 12 [#<procedure 8606ca0 at ice-9/boot-9.scm:4045:3 ()>]
1724: 11 [%start-stack load-stack ...]
1729: 10 [#<procedure 860c708 ()>]
In unknown file:
   ?: 9 [primitive-load "/media/storage/src/guix/scripts/guix"]
In guix/ui.scm:
 776: 8 [run-guix-command system "init" ...]
In ice-9/boot-9.scm:
 157: 7 [catch srfi-34 #<procedure 8f7ceb0 at guix/ui.scm:217:2 ()> ...]
 157: 6 [catch system-error ...]
In guix/monads.scm:
 469: 5 [run-with-store # ...]
In guix/scripts/system.scm:
 309: 4 [#<procedure 92a7e10 at guix/scripts/system.scm:309:2 (store)> #]
In gnu/system.scm:
 702: 3 [#<procedure 9781150 at gnu/system.scm:702:2 (store)> #]
 449: 2 [#<procedure 9781168 at gnu/system.scm:449:2 (store)> #]
 455: 1 [#<procedure 8fd76e0 at gnu/system.scm:449:2 (services)> (# # # # ...)]
In unknown file:
   ?: 0 [concatenate (() () () () () () () () () ...)]

ERROR: In procedure concatenate:
ERROR: In procedure append: Wrong type argument in position 19 (expecting empty 
list): #f

Reply via email to