guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: guix system: Use 'mapm/accumulate-builds'.


From: guix-commits
Subject: 04/06: guix system: Use 'mapm/accumulate-builds'.
Date: Thu, 2 Apr 2020 05:48:47 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 2ad6eb0568ed69127aea987c009138e03b5b8954
Author: Ludovic Courtès <address@hidden>
AuthorDate: Thu Apr 2 10:58:38 2020 +0200

    guix system: Use 'mapm/accumulate-builds'.
    
    * guix/scripts/system.scm (perform-action): Use 'mapm/accumulate-builds'
    instead of 'mapm'.
---
 guix/scripts/system.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index a178761..4937e68 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]