diff options
author | Caleb Ristvedt <caleb.ristvedt@cune.org> | 2020-05-06 11:52:16 -0500 |
---|---|---|
committer | Caleb Ristvedt <caleb.ristvedt@cune.org> | 2020-05-07 05:56:01 -0500 |
commit | b338c41c824c57d9de506404717ea7b3d2887f45 (patch) | |
tree | cd139d88f958904cfc09f4c2c0ccc48c6942ce79 /tests/accounts.scm | |
parent | 37edbc91e34fb5658261e637e6ffccdb381e5271 (diff) | |
download | patches-b338c41c824c57d9de506404717ea7b3d2887f45.tar patches-b338c41c824c57d9de506404717ea7b3d2887f45.tar.gz |
nar: 'with-temporary-store-file' uses a single connection
Previously the 'with-store' form was entered every time a different temporary
file was tried. This caused there to be as many simultaneous open connections
as there were attempts, and prevented the (loop ...) call from being a tail
call. This change fixes that.
* guix/nar.scm (with-temporary-store-file): open connection once prior to
entering the loop.
Diffstat (limited to 'tests/accounts.scm')
0 files changed, 0 insertions, 0 deletions