guix system: Fix 'init'.
Fixes a regression introduced in
52ee4479ef
, whereby 'install' would now be
passed a <computed-file> object instead of a derivation.
* guix/scripts/system.scm (install): Call 'lower-object' on BOOTCFG.
This commit is contained in:
parent
5c40a69f71
commit
1d6669afef
|
@ -251,21 +251,21 @@ the ownership of '~a' may be incorrect!~%")
|
|||
(format (lift format %store-monad))
|
||||
(populate (lift2 populate-root-file-system %store-monad)))
|
||||
|
||||
(mbegin %store-monad
|
||||
;; Copy the closure of BOOTCFG, which includes OS-DIR,
|
||||
;; eventual background image and so on.
|
||||
(maybe-copy
|
||||
(derivation->output-path bootcfg))
|
||||
(mlet %store-monad ((bootcfg (lower-object bootcfg)))
|
||||
(mbegin %store-monad
|
||||
;; Copy the closure of BOOTCFG, which includes OS-DIR,
|
||||
;; eventual background image and so on.
|
||||
(maybe-copy (derivation->output-path bootcfg))
|
||||
|
||||
;; Create a bunch of additional files.
|
||||
(format log-port "populating '~a'...~%" target)
|
||||
(populate os-dir target)
|
||||
;; Create a bunch of additional files.
|
||||
(format log-port "populating '~a'...~%" target)
|
||||
(populate os-dir target)
|
||||
|
||||
(mwhen install-bootloader?
|
||||
(install-bootloader bootloader-installer
|
||||
#:bootcfg bootcfg
|
||||
#:bootcfg-file bootcfg-file
|
||||
#:target target)))))
|
||||
(mwhen install-bootloader?
|
||||
(install-bootloader bootloader-installer
|
||||
#:bootcfg bootcfg
|
||||
#:bootcfg-file bootcfg-file
|
||||
#:target target))))))
|
||||
|
||||
|
||||
;;;
|
||||
|
|
Loading…
Reference in New Issue