build-system: python: Accept pyproject package-with-explicit-python.

* guix/build-system/python.scm (package-with-explicit-python): Accept
pyproject-build-system resolved lazily.

Change-Id: I6e4186b8a7d2ec17afbf6af7d0f9e709cc55e14b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-12-26 03:57:16 +01:00 committed by Andreas Enge
parent bf7bea493b
commit 8a156ad99c
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -103,7 +103,10 @@ pre-defined variants."
=> force)
;; Otherwise build the new package object graph.
((eq? (package-build-system p) python-build-system)
((or (eq? (package-build-system p) python-build-system)
(eq? (package-build-system p)
;; Resolve lazily.
(@* (guix build-system pyproject) pyproject-build-system)))
(package/inherit p
(location (package-location p))
(name (let ((name (package-name p)))