From f5a40e11028c435e8f87c6b5d011d166f033f6f5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 19 Jul 2025 01:15:47 +0200 Subject: [PATCH] nixos/testing: fix pyflakes builtins with bash 5.3p0 Printing the file contents with `< file` does not seem to work anymore. --- nixos/lib/testing/driver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/lib/testing/driver.nix b/nixos/lib/testing/driver.nix index 05d0b1a04569..f511e362c392 100644 --- a/nixos/lib/testing/driver.nix +++ b/nixos/lib/testing/driver.nix @@ -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 ''}