fast-downward: expand pythonPath bash array for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-01-27 11:53:06 +01:00
parent 2df76c2020
commit ff7f25bced
+2 -2
View File
@@ -51,8 +51,8 @@ stdenv.mkDerivation rec {
mkdir -p $out/${python3.sitePackages}
cp -r driver $out/${python3.sitePackages}
wrapPythonProgramsIn $out/bin "$out $pythonPath"
wrapPythonProgramsIn $out/libexec/fast-downward/translate "$out $pythonPath"
wrapPythonProgramsIn $out/bin "$out ''${pythonPath[*]}"
wrapPythonProgramsIn $out/libexec/fast-downward/translate "$out ''${pythonPath[*]}"
# Because fast-downward calls `python translate.py` we need to return wrapped scripts back.
for i in $out/libexec/fast-downward/translate/.*-wrapped; do
name="$(basename "$i")"