diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2020-04-02 10:57:14 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2020-04-02 11:48:24 +0200 |
| commit | 223ede4e156acf9fa9ae52e81007e3c4356c4cf4 (patch) | |
| tree | b0c064d25ce221618a44d994c61ebc57267275df /gnu/services.scm | |
| parent | 0f4be78fef122aad86f039b5e21d11a232e7cd88 (diff) | |
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'.
Diffstat (limited to 'gnu/services.scm')
| -rw-r--r-- | gnu/services.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/services.scm b/gnu/services.scm index e7a3a95e43b..7941cd3af02 100644 --- a/gnu/services.scm +++ b/gnu/services.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com> | 3 | ;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com> |
| 4 | ;;; | 4 | ;;; |
| 5 | ;;; This file is part of GNU Guix. | 5 | ;;; This file is part of GNU Guix. |
| @@ -322,7 +322,8 @@ This is a shorthand for (map (lambda (svc) ...) %base-services)." | |||
| 322 | "Return as a monadic value the derivation of the 'system' directory | 322 | "Return as a monadic value the derivation of the 'system' directory |
| 323 | containing the given entries." | 323 | containing the given entries." |
| 324 | (mlet %store-monad ((entries mentries) | 324 | (mlet %store-monad ((entries mentries) |
| 325 | (extensions (sequence %store-monad mextensions))) | 325 | (extensions (mapm/accumulate-builds identity |
| 326 | mextensions))) | ||
| 326 | (lower-object | 327 | (lower-object |
| 327 | (file-union "system" | 328 | (file-union "system" |
| 328 | (append entries (concatenate extensions)))))) | 329 | (append entries (concatenate extensions)))))) |
