diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-03-16 00:59:19 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-03-16 00:59:19 +0100 |
commit | 993fb66dd2f3087fef12c3f3f31e42485dfeb1bf (patch) | |
tree | c5da80be7c7262bd57c5990b42cff33288f59e92 /guix/scripts | |
parent | 3be9f724f58b0e0ec3a905de3a29d0b54bcb7628 (diff) | |
download | gnu-guix-993fb66dd2f3087fef12c3f3f31e42485dfeb1bf.tar gnu-guix-993fb66dd2f3087fef12c3f3f31e42485dfeb1bf.tar.gz |
guix package: Gracefully handle `official-gnu-packages' failure.
* guix/gnu-maintenance.scm (http-fetch): Error out when DATA is #f.
* guix/scripts/package.scm (check-package-freshness): Wrap
`gnu-package?' call in `false-if-exception'.
Reported by Cyril Roelandt <tipecaml@gmail.com>.
Diffstat (limited to 'guix/scripts')
-rw-r--r-- | guix/scripts/package.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index a9ed79184e..f14677c519 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -288,7 +288,7 @@ it." (catch #t (lambda () - (when (gnu-package? package) + (when (false-if-exception (gnu-package? package)) (let ((name (package-name package)) (full-name (package-full-name package))) (match (waiting (latest-release name) |