nixos/testing: fix pyflakes builtins with bash 5.3p0

Printing the file contents with `< file` does not seem to work anymore.
This commit is contained in:
Martin Weinelt
2025-07-19 01:15:47 +02:00
committed by Alyssa Ross
parent d671785505
commit f5a40e1102

View File

@@ -90,7 +90,7 @@ let
PYFLAKES_BUILTINS="$(
echo -n ${lib.escapeShellArg (lib.concatStringsSep "," pythonizedNames)},
< ${lib.escapeShellArg "driver-symbols"}
cat ${lib.escapeShellArg "driver-symbols"}
)" ${hostPkgs.python3Packages.pyflakes}/bin/pyflakes $out/test-script
''}