From f9b04997f2a79b386ea06ae4b5211ccbd67c429f Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 21 Jan 2024 21:07:22 -0500 Subject: build-system: pyproject: Add allowed/disallowed keyword arguments. * gnu/build-system/pyproject.scm (pyproject-build) Add ALLOWED-REFERENCES and DISALLOWED-REFERENCES keywords. Change-Id: I404cbd8409332705b023c7a3b0b8fafbfaefe28b --- guix/build-system/pyproject.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/guix/build-system/pyproject.scm b/guix/build-system/pyproject.scm index 2a2c3af3f3..9a27ebee35 100644 --- a/guix/build-system/pyproject.scm +++ b/guix/build-system/pyproject.scm @@ -98,7 +98,9 @@ (define* (pyproject-build name inputs (guile #f) (imported-modules %pyproject-build-system-modules) (modules '((guix build pyproject-build-system) - (guix build utils)))) + (guix build utils))) + allowed-references + disallowed-references) "Build SOURCE using PYTHON, and with INPUTS." (define build (with-imported-modules imported-modules @@ -131,7 +133,9 @@ (define build #:system system #:graft? #f ;consistent with 'gnu-build' #:target #f - #:guile-for-build guile))) + #:guile-for-build guile + #:allowed-references allowed-references + #:disallowed-references disallowed-references))) (define pyproject-build-system (build-system -- cgit v1.2.3