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/serialization.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/serialization.scm') diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 3f1eebd17c9..1aaf489a8b1 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -326,7 +326,7 @@ that implements both the msgpack and msgpack-rpc specifications.") (package/inherit lua-libmpack (name "lua5.1-libmpack") (arguments - (substitute-keyword-arguments (package-arguments lua-libmpack) + (substitute-keyword-arguments arguments ((#:make-flags flags) `(let* ((lua-version ,(package-version lua-5.1)) (lua-major+minor ,(version-major+minor (package-version lua-5.1)))) @@ -346,7 +346,7 @@ that implements both the msgpack and msgpack-rpc specifications.") (package/inherit lua-libmpack (name "lua5.2-libmpack") (arguments - (substitute-keyword-arguments (package-arguments lua-libmpack) + (substitute-keyword-arguments arguments ((#:make-flags flags) `(let* ((lua-version ,(package-version lua-5.2)) (lua-major+minor ,(version-major+minor (package-version lua-5.2)))) @@ -971,7 +971,7 @@ game development and other performance-critical applications.") (sha256 (base32 "0cd12dvkzqdafz46q4302mzgpzbz589zmmiga7bq07f2sqy4vrvv")))) (arguments - (substitute-keyword-arguments (package-arguments flatbuffers) + (substitute-keyword-arguments arguments ((#:configure-flags flags #~'()) #~(append #$flags '("-DCMAKE_POSITION_INDEPENDENT_CODE=ON")))))))) -- cgit v1.3