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/machine-learning.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/machine-learning.scm')
| -rw-r--r-- | gnu/packages/machine-learning.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index dcf8cc728d5..bb0f35828d4 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -2573,7 +2573,7 @@ data analysis.") (sha256 (base32 "08z1b58n31grfvl42wi6rdwrfhrdhnzkkxhg19iag3zkvkcvxqjl")))) (arguments - (substitute-keyword-arguments (package-arguments python-scikit-learn) + (substitute-keyword-arguments arguments ((#:test-flags flags) #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))) "-m" "not network" @@ -4928,7 +4928,7 @@ PyTorch.") (chdir outdir) (delete-file-recursively "deps")))))) (arguments - (substitute-keyword-arguments (package-arguments qnnpack) + (substitute-keyword-arguments arguments ((#:phases phases #~%standard-phases) #~(modify-phases %standard-phases (add-after 'unpack 'patch-cmake @@ -5395,7 +5395,7 @@ in the audio domain.") (modify-inputs (package-inputs python-pytorch) (append fbgemm nnpack))) (arguments - (substitute-keyword-arguments (package-arguments python-pytorch) + (substitute-keyword-arguments arguments ((#:phases phases) #~(modify-phases #$phases (delete 'disable-avx-dependencies))))) @@ -5435,7 +5435,7 @@ in the audio domain.") (modify-inputs (package-inputs python-pytorch) (replace "gloo" gloo-for-r-torch))) (arguments - (substitute-keyword-arguments (package-arguments python-pytorch) + (substitute-keyword-arguments arguments ((#:phases phases) #~(modify-phases #$phases (replace 'use-system-libraries |
