treewide: handle preInstallPhases __structuredAttrs-agnostically
Always specify the preInstallPhases attribute as a list instead of a string. Append elements to the preInstallPhases Bash variable using appendToVar instead of string or Bash array concatenation.
This commit is contained in:
@@ -16,5 +16,5 @@ pythonRuntimeDepsCheckHook() {
|
||||
|
||||
if [ -z "${dontCheckRuntimeDeps-}" ]; then
|
||||
echo "Using pythonRuntimeDepsCheckHook"
|
||||
preInstallPhases+=" pythonRuntimeDepsCheckHook"
|
||||
appendToVar preInstallPhases pythonRuntimeDepsCheckHook
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user