guix: build: Fix asdf-build-system/ecl.

* guix/build/lisp-utils.scm (make-asd-file): Fix value of 'component?'
  parameter when using ECL.
This commit is contained in:
Guillaume Le Vaillant 2020-07-01 15:49:39 +02:00
parent aa982985e0
commit cdf34eed33
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -327,8 +327,12 @@ (define registry
#: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))))