1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This commit is contained in:
Nicolas Graves
2025-12-26 03:57:16 +01:00
committed by Rutherther
parent b7f4cf4f46
commit 0dfbb0894d

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)))