From d89172980b5f25924e165c1046d6f0a995b14730 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 18 Dec 2025 12:20:02 +0100 Subject: [PATCH] wrapPythonPrograms: support structuredAttrs $pythonPath can be an array - if we don't expand it we only get the first element. --- pkgs/development/interpreters/python/wrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/wrap.sh b/pkgs/development/interpreters/python/wrap.sh index f10ba003432b..c4f9270fa202 100644 --- a/pkgs/development/interpreters/python/wrap.sh +++ b/pkgs/development/interpreters/python/wrap.sh @@ -1,7 +1,7 @@ # Wrapper around wrapPythonProgramsIn, below. The $pythonPath # variable is passed in from the buildPythonPackage function. wrapPythonPrograms() { - wrapPythonProgramsIn "$out/bin" "$out $pythonPath" + wrapPythonProgramsIn "$out/bin" "$out ${pythonPath[*]}" } # Builds environment variables like PYTHONPATH and PATH walking through closure