me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 2 additions and 1 deletions

View File

@ -162,7 +162,8 @@ set up using CL source package conventions."
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))