diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-10-27 14:56:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-10-27 14:56:46 +0200 |
commit | 0778385802a7f2eb8c661301e37417e7add81261 (patch) | |
tree | 8257183f7a16958003ff92305a90e85ca552cb3b /guix | |
parent | 5e6c90121f88b05b6d61e2b36aa27f5f4ce21bcd (diff) | |
download | gnu-guix-0778385802a7f2eb8c661301e37417e7add81261.tar gnu-guix-0778385802a7f2eb8c661301e37417e7add81261.tar.gz |
guix-build: Gracefully handle `&package-input-error' conditions.
* guix/packages.scm: Export `package-error?' and `package-input-error?'.
* guix-build.in (guix-build): Catch `&package-input-error' conditions,
print a human-readable message, and exit.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/packages.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/packages.scm b/guix/packages.scm index 0020783211..25acab1864 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -61,8 +61,10 @@ package-cross-derivation &package-error + package-error? package-error-package &package-input-error + package-input-error? package-error-invalid-input)) ;;; Commentary: |