xtf: expand pythonPath bash array for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-01-27 11:53:09 +01:00
parent 87fbf6d34c
commit 8ab60df552
+1 -1
View File
@@ -60,7 +60,7 @@ stdenv.mkDerivation {
# This is necessary because the real xtf-runner should
# be in the same directory as the tests/ directory.
+ ''
wrapPythonProgramsIn "''${!outputBin}/share/xtf" "''${!outputBin} $pythonPath"
wrapPythonProgramsIn "''${!outputBin}/share/xtf" "''${!outputBin} ''${pythonPath[*]}"
mkdir -p ''${!outputBin}/bin
ln -s ''${!outputBin}/share/xtf/xtf-runner ''${!outputBin}/bin/xtf-runner
'';