diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-08-28 15:05:17 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-08-28 23:27:53 +0200 |
commit | 3d9ea605c8dfb7fc43689e12975218b032b3175a (patch) | |
tree | 5bd465a5cfa605ff65125db071e62f80246d16dd /tests/services.scm | |
parent | b6308409206af78356ea7d1b2c4613ca1ee4315c (diff) | |
download | guix-3d9ea605c8dfb7fc43689e12975218b032b3175a.tar.gz guix-3d9ea605c8dfb7fc43689e12975218b032b3175a.zip |
store: 'with-store' returns as many values as its body.
Fixes <https://bugs.gnu.org/42912>.
Reported by Ricardo Wurmus <rekado@elephly.net>.
* guix/store.scm (call-with-store)[thunk]: Wrap call to PROC in
'call-with-values'.
* tests/store.scm ("with-store, multiple values"): New test.
Diffstat (limited to 'tests/services.scm')
0 files changed, 0 insertions, 0 deletions