diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2026-03-07 11:19:10 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-03-20 13:27:15 +0100 |
| commit | 2a50c9598bb7fe4175c4f29df07656a7f0a07801 (patch) | |
| tree | 90e02e712b28397979c06d3fe1cf9ca6be201871 /gnu/packages/algebra.scm | |
| parent | a7c8e68dc51144a6d3981b770aca9c4897fc7c0c (diff) | |
gnu: Reference the inherited ‘arguments’ value.
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
Diffstat (limited to 'gnu/packages/algebra.scm')
| -rw-r--r-- | gnu/packages/algebra.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index e9911d65619..17c9898fd36 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -954,7 +954,7 @@ gnu build version.")))) (package/inherit fftw (name "fftwf") (arguments - (substitute-keyword-arguments (package-arguments fftw) + (substitute-keyword-arguments arguments ((#:configure-flags fftw-configure-flags) `(cons* "--enable-single" ,@(if (string-prefix? "arm" (or (%current-target-system) @@ -975,7 +975,7 @@ gnu build version.")))) `(("openmpi" ,openmpi) ,@(package-inputs fftw))) (arguments - (substitute-keyword-arguments (package-arguments fftw) + (substitute-keyword-arguments arguments ((#:configure-flags cf) `(cons "--enable-mpi" ,cf)) ((#:phases phases '%standard-phases) @@ -1434,7 +1434,7 @@ features, and more.") ;; XXX: Some tests fail, but onnxruntime will move on to the next ;; release soon enough. (arguments - (substitute-keyword-arguments (package-arguments eigen) + (substitute-keyword-arguments arguments ((#:tests? tests? #t) #f))))))) @@ -1462,7 +1462,7 @@ features, and more.") ;; XXX: Tests stable_norm_5 and stable_norm_6 are failing due to ;; EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE. (arguments - (substitute-keyword-arguments (package-arguments eigen) + (substitute-keyword-arguments arguments ((#:tests? flag #f) #false))))))) (define-public xtensor @@ -2192,7 +2192,7 @@ and not by the available RAM.") (inherit form) (name "parform") (arguments - (substitute-keyword-arguments (package-arguments form) + (substitute-keyword-arguments arguments ((#:configure-flags flags) #~(cons* "--enable-parform=yes" #$flags)) ((#:phases phases) |
