From 0778385802a7f2eb8c661301e37417e7add81261 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 27 Oct 2012 14:56:38 +0200 Subject: 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. --- guix/packages.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'guix/packages.scm') 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 @@ (define-module (guix packages) package-cross-derivation &package-error + package-error? package-error-package &package-input-error + package-input-error? package-error-invalid-input)) ;;; Commentary: -- cgit v1.2.3