summaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-03-11 23:12:16 +0100
committerLudovic Courtès <ludo@gnu.org>2026-03-20 13:27:16 +0100
commit1ae20f03f43a2af2bcde3751a2809fe152298d34 (patch)
treebe11f116044ab4cbc7994e2cf88ded0e21db4bbc /gnu/packages/machine-learning.scm
parent4ba653e637940b147ea5cdcf45397b8ac7f3d014 (diff)
gnu: Reference the inherited inputs values.
This commit was made by running this command: sed -e's/modify-inputs (package-\([a-z-]*\)inputs [a-zA-Z0-9-]\+)/modify-inputs \1inputs/g' -i gnu/packages/*.scm … and then reverting individual hunks where the change would trigger unbound variable warnings or other issues (such as ‘native-inputs’ is bound in the body of the ‘inputs’ field, but it refers to the ‘native-inputs’ thunk defined just above). Change-Id: I6d94819f2809313fa1fbefc61897502ee7d66fab
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index bb0f35828d4..e3273b7e14e 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -5392,7 +5392,7 @@ in the audio domain.")
(package/inherit python-pytorch
(name "python-pytorch-avx")
(inputs
- (modify-inputs (package-inputs python-pytorch)
+ (modify-inputs inputs
(append fbgemm nnpack)))
(arguments
(substitute-keyword-arguments arguments
@@ -5432,7 +5432,7 @@ in the audio domain.")
(source %python-pytorch-for-r-torch-src)
(build-system python-build-system)
(inputs
- (modify-inputs (package-inputs python-pytorch)
+ (modify-inputs inputs
(replace "gloo" gloo-for-r-torch)))
(arguments
(substitute-keyword-arguments arguments