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/boost.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages/boost.scm') diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm index c8fcec1b211..b98b72a23b1 100644 --- a/gnu/packages/boost.scm +++ b/gnu/packages/boost.scm @@ -272,7 +272,7 @@ across a broad spectrum of applications.") (base32 "13iviiwk1srpw9dmiwabkxv56v0pl0zggjp8zxy1419k5zzfsy34")))) (arguments - (substitute-keyword-arguments (package-arguments boost) + (substitute-keyword-arguments arguments ((#:make-flags _ #f) #~(list "threading=multi" "link=shared" ;; Set the RUNPATH to $libdir so that the libs find each other. @@ -306,7 +306,7 @@ across a broad spectrum of applications.") (inherit boost) (name "boost-static") (arguments - (substitute-keyword-arguments (package-arguments boost) + (substitute-keyword-arguments arguments ((#:make-flags flags) #~(cons "link=static" (delete "link=shared" #$flags))))))) @@ -324,7 +324,7 @@ across a broad spectrum of applications.") (base32 "1jj1aai5rdmd72g90a3pd8sw9vi32zad46xv5av8fhnr48ir6ykj")))) (arguments - (substitute-keyword-arguments (package-arguments boost) + (substitute-keyword-arguments arguments ((#:configure-flags _ #~'()) #~(let ((icu (dirname (dirname (search-input-file %build-inputs "bin/uconv"))))) @@ -452,7 +452,7 @@ signals and slots system.") (modify-inputs (package-inputs boost) (append openmpi))) (arguments - (substitute-keyword-arguments (package-arguments boost) + (substitute-keyword-arguments arguments ((#:phases phases) #~(modify-phases #$phases (add-after 'configure 'update-jam -- cgit v1.3