mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
guix system: Use 'mapm/accumulate-builds'.
* guix/scripts/system.scm (perform-action): Use 'mapm/accumulate-builds' instead of 'mapm'.
This commit is contained in:
parent
223ede4e15
commit
2ad6eb0568
1 changed files with 4 additions and 4 deletions
|
@ -825,10 +825,10 @@ (define bootcfg
|
|||
;; For 'init' and 'reconfigure', always build BOOTCFG, even if
|
||||
;; --no-bootloader is passed, because we then use it as a GC root.
|
||||
;; See <http://bugs.gnu.org/21068>.
|
||||
(drvs (mapm %store-monad lower-object
|
||||
(if (memq action '(init reconfigure))
|
||||
(list sys bootcfg)
|
||||
(list sys))))
|
||||
(drvs (mapm/accumulate-builds lower-object
|
||||
(if (memq action '(init reconfigure))
|
||||
(list sys bootcfg)
|
||||
(list sys))))
|
||||
(% (if derivations-only?
|
||||
(return (for-each (compose println derivation-file-name)
|
||||
drvs))
|
||||
|
|
Loading…
Reference in a new issue