guix-play/guix
Ludovic Courtès 7150743522
inferior: Propagate '&store-protocol-error' error conditions.
Until now '&store-protocol-error' conditions raised in the inferior
would not be correctly propagated because SRFI-35 records lack a read
syntax.

Reported at <https://bugs.gnu.org/37449>
by Carl Dong <contact@carldong.me>.

* guix/inferior.scm (port->inferior): Import (srfi srfi-34) in the inferior.
(inferior-eval-with-store): Define 'error?' and 'error-message'.  Wrap
call to PROC in 'guard'.  Check the response of INFERIOR for a
'store-protocol-error' or a 'result' tag.
* tests/inferior.scm ("inferior-eval-with-store, &store-protocol-error"):
New test.
2019-09-21 16:48:36 +02:00
..
build build-system/cargo: Remove unused function. 2019-09-13 15:20:27 +03:00
build-system Revert "build-system/r: Use %bioconductor-version." 2019-09-16 14:34:15 +03:00
import import/github: Check for more version prefixes. 2019-09-20 09:02:33 +03:00
scripts scripts: pull: Add options for generation management 2019-09-18 23:08:29 +02:00
store daemon: Invoke 'guix gc --list-busy' instead of 'list-runtime-roots'. 2019-09-08 11:49:24 +02:00
tests tests: 'with-http-server' accepts multiple responses. 2019-09-02 15:25:01 +02:00
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
cache.scm
channels.scm channels: Add 'profile-channels'. 2019-08-16 23:00:26 +02:00
ci.scm ci: Use (guix json) and adjust for Guile-JSON 3.x. 2019-09-04 13:02:27 +02:00
colors.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
deprecation.scm
derivations.scm derivations: Fix typo in docstring. 2019-08-17 19:26:10 +02:00
describe.scm
diagnostics.scm diagnostics: Avoid highlighting complete messages. 2019-08-28 18:52:52 +02:00
discovery.scm discovery: 'scheme-files' ignores hidden files. 2019-07-26 21:49:25 +02:00
docker.scm pack: Provide a meaningful "repository name" for Docker. 2019-09-16 10:25:31 +02:00
download.scm
elf.scm
ftp-client.scm
gexp.scm gexp: 'program-file' honors the current system and cross-compilation target. 2019-07-26 23:50:12 +02:00
git-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
git.scm git: 'switch-to-ref' resolves tag targets. 2019-07-26 11:21:36 +02:00
glob.scm
gnu-maintenance.scm upstream: Move KDE updater into a separate module. 2019-09-10 19:04:06 +02:00
gnupg.scm
grafts.scm
graph.scm
hg-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
http-client.scm
i18n.scm
inferior.scm inferior: Propagate '&store-protocol-error' error conditions. 2019-09-21 16:48:36 +02:00
json.scm Add (guix json). 2019-09-04 13:02:27 +02:00
licenses.scm
lint.scm lint: Add 'archival' checker. 2019-09-02 15:25:01 +02:00
lzlib.scm
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm packages: 'package-field-location' really catches 'system-error. 2019-09-10 00:34:40 +02:00
pki.scm
profiles.scm
profiling.scm
progress.scm
records.scm
remote.scm remote, ssh: Show the command exit status upon failure. 2019-08-28 18:52:52 +02:00
repl.scm
scripts.scm
search-paths.scm
self.scm
serialization.scm
sets.scm
ssh.scm remote, ssh: Show the command exit status upon failure. 2019-08-28 18:52:52 +02:00
status.scm
store.scm
svn-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
swh.scm Add (guix json). 2019-09-04 13:02:27 +02:00
tests.scm
ui.scm ui: 'relevance' connects regexps with a logical and. 2019-09-19 23:24:04 +02:00
upstream.scm refresh: Distinguish between "no updater" and "failing updater". 2019-09-10 00:34:40 +02:00
utils.scm guix: Rename and move sans-extension to tarball-sans-extension. 2019-09-10 19:04:05 +02:00
workers.scm
zlib.scm