guix system: Use 'mapm/accumulate-builds'.
* guix/scripts/system.scm (perform-action): Use 'mapm/accumulate-builds' instead of 'mapm'.master
parent
223ede4e15
commit
2ad6eb0568
|
@ -825,10 +825,10 @@ static checks."
|
|||
;; 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))
|
||||
|
|
Reference in New Issue