services: Accumulate builds for 'system' entries.
That way, more build requests are accumulated when running "guix system build". * gnu/services.scm (system-derivation): Use 'mapm/accumulate-builds' rather than 'sequence'.
This commit is contained in:
parent
0f4be78fef
commit
223ede4e15
@ -1,5 +1,5 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
@ -322,7 +322,8 @@ This is a shorthand for (map (lambda (svc) ...) %base-services)."
|
||||
"Return as a monadic value the derivation of the 'system' directory
|
||||
containing the given entries."
|
||||
(mlet %store-monad ((entries mentries)
|
||||
(extensions (sequence %store-monad mextensions)))
|
||||
(extensions (mapm/accumulate-builds identity
|
||||
mextensions)))
|
||||
(lower-object
|
||||
(file-union "system"
|
||||
(append entries (concatenate extensions))))))
|
||||
|
Loading…
Reference in New Issue
Block a user