summaryrefslogtreecommitdiff
path: root/guix/build
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-07-01 15:49:39 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2020-07-01 16:14:21 +0200
commitcdf34eed3302951fec198c1e5ac26d36d91d2440 (patch)
tree435b08084392060fb2791a3b5d286d42508ad40a /guix/build
parentaa982985e01efc3b0a477b002d6499ef7fd4d62e (diff)
guix: build: Fix asdf-build-system/ecl.
* guix/build/lisp-utils.scm (make-asd-file): Fix value of 'component?' parameter when using ECL.
Diffstat (limited to 'guix/build')
-rw-r--r--guix/build/lisp-utils.scm8
1 files changed, 6 insertions, 2 deletions
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))))