guix/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 62195b9a8f 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 deduplication: Use nix-base32 encoding for link names. 2020-02-22 00:46:06 +01:00
tests challenge: Add "--diff". 2019-12-12 17:56:58 +01:00
base16.scm
base32.scm
base64.scm base64: Do not use (rnrs). 2019-12-15 00:34:05 +01:00
build-system.scm
bzr-download.scm
cache.scm Remove workaround for 'time-monotonic' in Guile 2.2.2. 2020-03-22 16:49:47 +01:00
channels.scm channels: Provide a hint when the 'guix' channel is lacking. 2020-01-09 23:33:04 +01:00
ci.scm ci: Fix 'evaluation-spec' binding. 2020-03-31 14:55:42 +02:00
colors.scm ui: Don't disable colors when INSIDE_EMACS is set. 2020-02-24 11:01:52 +01:00
combinators.scm
config.scm.in
cpio.scm
cve.scm cve: Rewrite to read the JSON feed instead of the XML feed. 2019-10-23 16:40:17 +02:00
cvs-download.scm
deprecation.scm deprecation: Add a two-element form for simple aliases. 2020-01-12 00:19:09 +01:00
derivations.scm derivations: Inline 'find' in 'coalesce-duplicate-inputs'. 2020-01-23 23:34:10 +01:00
describe.scm guix package: Save provenance information when using '--manifest'. 2019-12-29 18:24:54 +01:00
diagnostics.scm
discovery.scm
docker.scm
download.scm download: Remove misbehaving kvin.lv mirror. 2020-03-09 16:01:17 +01:00
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 gnupg: 'gnupg-verify*' returns a status symbol. 2019-12-20 22:06:05 +01:00
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 download: Do not leak file descriptors on TLS ports. 2020-01-03 16:06:26 +01:00
i18n.scm
inferior.scm inferior: '&inferior-exception' includes a stack trace. 2020-03-19 15:14:08 +01:00
json.scm
licenses.scm licenses: Add QWT 1.0 license. 2020-03-24 11:42:41 +01:00
lint.scm lint: Add a #:store argument to check-derivation 2020-03-24 19:47:46 +00:00
lzlib.scm lzlib: Define 'dictionary-size+match-length-limit'. 2020-01-16 23:14:05 +01:00
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 Remove workaround for 'time-monotonic' in Guile 2.2.2. 2020-03-22 16:49:47 +01:00
records.scm records: Improve reporting of "invalid field specifier" errors. 2020-01-16 18:30:57 +01:00
remote.scm
repl.scm repl: Return stack traces along with exceptions. 2020-03-19 15:14:08 +01:00
scripts.scm scripts: Show disk-space warning when under the min of the thresholds. 2020-03-06 08:32:01 +01:00
search-paths.scm
self.scm self: Build with Guile 3.0. 2020-01-23 23:34:10 +01:00
serialization.scm serialization: 'read-byte-string' makes a single read(2) call. 2020-01-24 23:56:43 +01:00
sets.scm
ssh.scm ssh: 'send-files' reports missing modules on the remote host. 2020-03-23 10:48:17 +01:00
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 guix: svn: Allow dropping externals. 2019-11-13 22:49:47 +01:00
swh.scm swh: Handle absolute URLs being returned by the API. 2020-02-23 12:30:18 +01:00
tests.scm
ui.scm ui: Clarify "dependencies changed". 2020-04-02 11:48:24 +02:00
upstream.scm gnupg: 'gnupg-verify*' returns a status symbol. 2019-12-20 22:06:05 +01:00
utils.scm Adjust module autoloads. 2020-01-06 16:31:54 +01:00
workers.scm
zlib.scm