guix-kreyren/guix
Ludovic Courtès 8ed597f4a2
store: 'with-store' doesn't close the store upon abort.
Fixes <https://bugs.gnu.org/40428>.
Reported by Marius Bakke <mbakke@fastmail.com> and 白い熊.

Regression introduced with the first uses of 'with-build-handler' in
commit 62195b9a8fd6846117c5d7698842748300d13e31 and subsequent.

* guix/store.scm (call-with-store): Use 'catch #t' instead of
'dynamic-wind'.  This ensures STORE remains open when a non-local exit
other than an exception occurs, such as an abort to the build handler
prompt.
* tests/store.scm ("with-build-handler + with-store"): New test.
2020-04-04 18:52:35 +02:00
..
build bournish: Prevent inlining of run-time support procedures. 2020-04-02 16:07:08 +02:00
build-system build-system/gnu: Optimize the package graph. 2020-03-29 23:14:28 +02:00
import import/cran: Import missing module. 2020-03-25 16:28:57 +01:00
scripts pack: Pass the cross-compilation target to 'run-with-store'. 2020-04-03 23:06:43 +02:00
store
tests
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm
cache.scm
channels.scm
ci.scm ci: Fix 'evaluation-spec' binding. 2020-03-31 14:55:42 +02:00
colors.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
deprecation.scm
derivations.scm
describe.scm
diagnostics.scm
discovery.scm
docker.scm
download.scm
elf.scm
ftp-client.scm
gexp.scm gexp: 'lower-references' uses 'mapm/accumulate-builds'. 2020-04-02 11:48:25 +02:00
git-download.scm
git.scm git: Don't try to resolve tags with 'tag-lookup'. 2020-04-02 23:15:11 +02:00
glob.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm grafts: Simplify access to store item references. 2020-04-02 00:06:26 +02:00
graph.scm
hg-download.scm
http-client.scm
i18n.scm
inferior.scm
json.scm
licenses.scm
lint.scm
lzlib.scm
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm packages: 'package->bag' keys cache by replacement. 2020-03-29 23:14:28 +02:00
pki.scm
profiles.scm profiles: Compute manual database entries in parallel. 2020-03-31 14:55:42 +02:00
profiling.scm
progress.scm
records.scm
remote.scm
repl.scm
scripts.scm
search-paths.scm
self.scm
serialization.scm
sets.scm
ssh.scm
status.scm status: Display synthetic information about profiles being built. 2020-03-26 13:07:19 +01:00
store.scm store: 'with-store' doesn't close the store upon abort. 2020-04-04 18:52:35 +02:00
svn-download.scm
swh.scm
tests.scm
ui.scm ui: Clarify "dependencies changed". 2020-04-02 11:48:24 +02:00
upstream.scm
utils.scm
workers.scm
zlib.scm