From 2a50c9598bb7fe4175c4f29df07656a7f0a07801 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 7 Mar 2026 11:19:10 +0100 Subject: gnu: Reference the inherited ‘arguments’ value. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit was made by running this command: sed -e's/substitute-keyword-arguments (package-arguments [a-zA-Z0-9-]\+)/substitute-keyword-arguments arguments/g' -i gnu/packages/*.scm … and then: 1. reverting changes from ‘gnu/packages/rust.scm’ and ‘gnu/packages/java.scm’ since they would incur derivation changes and/or breakage; 2. reverting the change for ‘gcc-final’ in ‘gnu/packages/commencement.scm’; 3. reverting the change for ‘onnx-optimizer’, ‘openquest’, and ‘certbot’, which use ‘substitute-keyword-arguments’ for arguments that are not inherited (and thus ‘arguments’ would be unbound); 4. reverting the change for ‘insight-toolkit-legacy’ and ‘wine64-staging’ which make bogus assumptions about inherited arguments. Change-Id: I122a7cf517b6b63cae38944b5d33ade4b1f5a89c --- gnu/packages/python-xyz.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a9bff220bd8..b1afbd051fd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8341,7 +8341,7 @@ and convert DDL to BigQuery JSON schema.") (base32 "0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68")))) (arguments - (substitute-keyword-arguments (package-arguments python-jsonschema) + (substitute-keyword-arguments arguments ((#:tests? _ #t) #f))) (propagated-inputs (list python-attrs @@ -16758,7 +16758,7 @@ from an XML-based format.") (package/inherit base (name "python-fonttools") (arguments - (substitute-keyword-arguments (package-arguments base) + (substitute-keyword-arguments arguments ((#:tests? _ #f) (not (%current-target-system))) ((#:phases phases '%standard-phases) @@ -22013,7 +22013,7 @@ feels like an AST.") (inherit python-libcst) (name "python-libcst-minimal") (arguments - (substitute-keyword-arguments (package-arguments python-libcst) + (substitute-keyword-arguments arguments ((#:tests? _ #t) #f))) (native-inputs (list python-minimal-wrapper @@ -25942,7 +25942,7 @@ events on Linux.") (inherit python-pyinotify) (name "python-pyinotify-cli") (arguments - (substitute-keyword-arguments (package-arguments python-pyinotify) + (substitute-keyword-arguments arguments ((#:phases phases #~%standard-phases) #~(modify-phases #$phases (delete 'drop-shebang) @@ -28199,7 +28199,7 @@ Complete support for Berkeley DB Base Replication. Support for RPC.") (sha256 (base32 "00bqdsfx8jgmfz5bgkx10nlw5bfsw11a86f91zkl53snvk45xl3h")))) (arguments - (substitute-keyword-arguments (package-arguments python-berkeleydb) + (substitute-keyword-arguments arguments ((#:phases phases #~%standard-phases) #~(modify-phases #$phases (delete 'remove-legacy))) @@ -41139,7 +41139,7 @@ interfaces.") (search-patches "python-zeroc-ice-3.6.5-python-3.11-support.patch")))) (arguments - (substitute-keyword-arguments (package-arguments python-zeroc-ice) + (substitute-keyword-arguments arguments ((#:phases phases #~%standard-phases) #~(modify-phases #$phases (add-before 'build 'relax-gcc-14-strictness -- cgit v1.3