wrapPythonPrograms: support structuredAttrs

$pythonPath can be an array - if we don't expand it we only get the first element.
This commit is contained in:
Stefan Frijters
2025-12-18 12:24:28 +01:00
parent c15019e98d
commit d89172980b
+1 -1
View File
@@ -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