From cdf34eed3302951fec198c1e5ac26d36d91d2440 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Wed, 1 Jul 2020 15:49:39 +0200 Subject: guix: build: Fix asdf-build-system/ecl. * guix/build/lisp-utils.scm (make-asd-file): Fix value of 'component?' parameter when using ECL. --- guix/build/lisp-utils.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'guix/build') diff --git a/guix/build/lisp-utils.scm b/guix/build/lisp-utils.scm index 5bb3d81c9e..f6d9168c48 100644 --- a/guix/build/lisp-utils.scm +++ b/guix/build/lisp-utils.scm @@ -327,8 +327,12 @@ system to find its dependencies, as described by GENERATE-DEPENDENCY-LINKS." #:version version #:dependencies dependencies ;; Some .asd don't have components, and thus they don't generate any .fasl. - #:component? (pair? - (find-files (dirname asd-file) "--system\\.fasl$"))) + #:component? (match (%lisp-type) + ("sbcl" (pair? (find-files (dirname asd-file) + "--system\\.fasl$"))) + ("ecl" (pair? (find-files (dirname asd-file) + "\\.fasb$"))) + (_ (error "The LISP provided is not supported at this time.")))) (generate-dependency-links registry system))) port)))) -- cgit v1.2.3