mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 03:20:04 +01:00
build-system/asdf: Use invoke.
* guix/build/lisp-utils.scm (lisp-eval-program): Replace system* and error handling with invoke. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
29a3ffb446
commit
e831a1668b
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue