build-system/asdf: Use invoke.
authorAndy Patterson <ajpatter@uwaterloo.ca>
Thu, 30 Aug 2018 05:36:30 +0000 (01:36 -0400)
committerLudovic Courtès <ludo@gnu.org>
Wed, 19 Sep 2018 16:25:28 +0000 (18:25 +0200)
* guix/build/lisp-utils.scm (lisp-eval-program): Replace system* and error
handling with invoke.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
guix/build/lisp-utils.scm

index 9cf479d..7c0a68c 100644 (file)
@@ -121,8 +121,7 @@ name of an ASD system, and asd-file is the full path to its definition."
   "Evaluate PROGRAM with a given LISP implementation."
   (define invocation (lisp-invocation program))
   (format #t "Invoking ~a: ~{~s ~}~%" (%lisp-type) invocation)
-  (unless (zero? (apply system* invocation))
-    (error "lisp-eval-program failed!" invocation)))
+  (apply invoke invocation))
 
 (define (spread-statements program argument-name)
   "Return a list with the statements from PROGRAM spread between