build-system/pyproject: Using autoload for (json) module.

This allows to avoid the `with-extensions` everywhere.

* guix/build/pyproject-build-system.scm: Using autoload for (json)
module.

Change-Id: Ie31579b377df34688a2cd4959f517b734eff5ffa
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-12-27 16:12:05 +01:00 committed by Sharlatan Hellseher
parent bb234b5f32
commit 09767a7729
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -18,6 +18,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (guix build pyproject-build-system)
#:autoload (json builder) (scm->json-string)
#:use-module ((guix build gnu-build-system) #:prefix gnu:)
#:use-module (guix build utils)
#:use-module (guix build toml)
@ -26,7 +27,6 @@
#:use-module (ice-9 format)
#:use-module (ice-9 rdelim)
#:use-module (ice-9 regex)
#:use-module (json)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-34)