guix-devel/guix
Ludovic Courtès 7949c140b1
ui: 'load*' no longer fails on Guile 2.2.3 upon EACCES or similar.
Previously, if ~/.cache was not write-accessible, 'guix' would exit with
code 1 without printing any message.  That was because the 'make-stack'
call would fail since the exception (a 'system-error) came from
'compile-file', which was called at a point where TAG wasn't installed
yet.  Secondly, to mimick auto-compilation behavior, we just swallow
'system-error raised by 'compile-file'.

Reported by Clément Lassieur.

* guix/ui.scm (load*): Move 'compile-file' call in the dynamic extent of
TAG.  Catch 'system-error around it and ignore it.
2018-03-06 10:50:39 +01:00
..
build git-download: Fetch only the required commit, if possible. 2018-03-04 14:43:38 +01:00
build-system build-system/trivial: Add support for #:allowed-references. 2018-02-28 22:47:42 +01:00
import import: cpan: Drop "v" prefix from version strings. 2018-03-01 14:54:55 +01:00
scripts guix system: Check for the lack of modules in the initrd. 2018-03-02 13:53:15 +01:00
store
tests
base16.scm
base32.scm
base64.scm
build-system.scm
cache.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
derivations.scm
discovery.scm
docker.scm
download.scm
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm services: messaging: Prosody config supports file-like objects. 2018-03-03 18:21:52 +01:00
git-download.scm
git.scm
glob.scm Add (guix glob). 2018-03-02 13:46:25 +01:00
gnu-maintenance.scm
gnupg.scm
grafts.scm
graph.scm
hash.scm build: Require Guile >= 2.0.13. 2018-02-26 18:19:34 +01:00
hg-download.scm
http-client.scm build: Require Guile >= 2.0.13. 2018-02-26 18:19:34 +01:00
i18n.scm
licenses.scm licenses: Add W3C license. 2018-02-10 19:03:57 +01:00
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm Merge branch 'master' into core-updates 2018-01-19 23:59:20 -05:00
pk-crypto.scm
pki.scm
profiles.scm profiles: 'manifest-add' truly deletes duplicate entries. 2018-03-01 14:00:21 +01:00
profiling.scm
progress.scm
records.scm
scripts.scm
search-paths.scm
serialization.scm
sets.scm
ssh.scm ssh: Work around 'select' bug in Guile. 2018-02-09 11:23:27 +01:00
store.scm
svn-download.scm
tests.scm
ui.scm ui: 'load*' no longer fails on Guile 2.2.3 upon EACCES or similar. 2018-03-06 10:50:39 +01:00
upstream.scm
utils.scm
workers.scm
zlib.scm