|
From: | Ludovic Courtès |
Subject: | [bug#29932] [PATCH 0/2] Clean up operating-system-kernel-arguments. |
Date: | Thu, 11 Jan 2018 17:43:06 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello, Danny Milosavljevic <address@hidden> skribis: > +(define* (operating-system-boot-kernel-arguments os) > + "Kernel arguments that allow OS (only) to be booted." > + (let* ((root-file-system (operating-system-root-file-system os)) > + (root-device (file-system-device root-file-system))) > + #~(boot-kernel-arguments #$os root-device))) This should be: (boot-kernel-arguments os root-device) That’s why you were getting: > In gnu/system.scm: > 905:2 2 (_ _) > 939:14 1 (_ _) > In unknown file: > 0 (append #<gexp (boot-kernel-arguments #<gexp-input #<<?> ?) > ERROR: In procedure append: Wrong type argument in position 1 (expecting > empty list): #<gexp (boot-kernel-arguments #<gexp-input #<<operating-system> > kern... … which tells you the first argument is a gexp, whereas ‘append’ expects a list. HTH! Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |