mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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
1 changed files with 13 additions and 13 deletions
|
@ -251,21 +251,21 @@ (define (maybe-copy to-copy)
|
|||
(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 a new issue