build-system/asdf: Don't fail in sbcl-package->cl-source-package on non-package inputs.

Inputs can be non-packages, for instance (origin ...).
sbcl-package->cl-source-package used to fail if such inputs were present in
the parent sbcl-* package.

* guix/build-system/asdf.scm (package-with-build-system): Fix
'has-from-build-system?' function.
This commit is contained in:
Pierre Neidhardt 2021-11-17 09:09:42 +01:00
parent ad9b5cd19b
commit 56db786591
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -162,7 +162,8 @@ (define (transform-package-name name)
name))
(define (has-from-build-system? pkg)
(eq? from-build-system (package-build-system pkg)))
(and (package? pkg)
(eq? from-build-system (package-build-system pkg))))
(define (find-input-package pkg)
(let* ((name (package-name pkg))