summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-26 03:57:16 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:22:41 +0100
commit0dfbb0894d7419b7afe65feb8ef3e00fb8739e28 (patch)
treea2918e2690fc893d247ef58698bf43693dc00dc8
parentb7f4cf4f461ad652c73c9e5b159ff0f99c4c2e1d (diff)
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>
-rw-r--r--guix/build-system/python.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index a51c033d01..8bdf84125a 100644
--- a/guix/build-system/python.scm
+++ b/guix/build-system/python.scm
@@ -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)))