gexp: 'lower-inputs' uses 'mapm/accumulate-builds'.

This doesn't have an noticeable impact on the run time of
'guix system build desktop.tmp --no-grafts -d'.

* guix/gexp.scm (lower-inputs): Use 'mapm/accumulate-builds' instead of 'mapm'.
This commit is contained in:
Ludovic Courtès 2020-03-25 12:43:49 +01:00
parent 1213ea9bd9
commit 584dfdac37
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -683,7 +683,7 @@ (define (store-item? obj)
(and (string? obj) (store-path? obj)))
(with-monad %store-monad
(mapm %store-monad
(mapm/accumulate-builds
(match-lambda
(((? struct? thing) sub-drv ...)
(mlet %store-monad ((obj (lower-object