store: 'mapm/accumulate-builds' preserves '%current-target-system'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 14 May 2020 14:53:42 +0000 (16:53 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 14 May 2020 15:21:27 +0000 (17:21 +0200)
commit80963744a242257921917df5a901dc343d3a93db
tree3adcc9e38387470f6dc153363833254015863301
parentf52fbf7094c9c346d38ad469cc8d92d18387786e
store: 'mapm/accumulate-builds' preserves '%current-target-system'.

Fixes <https://bugs.gnu.org/41182>.

* guix/store.scm (mapm/accumulate-builds): Pass #:system and #:target to
'run-with-store'.
* tests/store.scm ("mapm/accumulate-builds, %current-target-system"):
New test.
* tests/guix-pack.sh: Add 'guix pack -d --target' test.
guix/store.scm
tests/guix-pack.sh
tests/store.scm