summaryrefslogtreecommitdiff
path: root/gnu/packages/python.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/python.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/python.scm')
-rw-r--r--gnu/packages/python.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 687e2857924..e56ef99bde2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -661,7 +661,7 @@ def contents() -> str:
(modify-inputs (package-inputs python-2.7)
(replace "openssl" openssl)))
(native-inputs
- (let ((inputs (modify-inputs (package-native-inputs python-2)
+ (let ((inputs (modify-inputs native-inputs
(prepend tzdata-for-tests
unzip
(@ (gnu packages compression) zip)))))