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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user