From 8a156ad99cd58ef6ee4b8723d36309cb32b7e3c7 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 26 Dec 2025 03:57:16 +0100 Subject: [PATCH] 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 --- guix/build-system/python.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm index a51c033d01e..8bdf84125a1 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)))