diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-05-17 13:41:07 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-17 14:02:48 +0200 |
commit | 149590380adb240e0993931b4f72e6f285b24483 (patch) | |
tree | 674e6a742eb21d714eb2eee00eec87273e7e273e /guix/store.scm | |
parent | 787afdd0f1ce1d4aa7500d858f2635462b444699 (diff) |
import: Gracefully report import failures.
Previously, something like 'guix import gnu which' would spit out a
backtrace if, say, the 'which' tarball could not be authenticated.
* guix/upstream.scm (download-tarball): Mention failure modes in
docstring.
* guix/import/gnu.scm (gnu-package->sexp): Return #f when
'download-tarball' returns #f.
* guix/scripts/import.scm (guix-import): Call 'leave' when IMPORTER does
not return a (package ...) sexp.
Diffstat (limited to 'guix/store.scm')
0 files changed, 0 insertions, 0 deletions