Files
nixos-hardware/tests/run-tests.nix
Jörg Thalheim 4bafcc2454 Refactor tests to load flake inputs with flake-compat
This makes `nix fmt` just works and we no longer have to override flake
inputs.
2025-10-30 12:36:49 +01:00

20 lines
283 B
Nix

{
lib,
writeShellScriptBin,
bash,
python3,
nix-eval-jobs,
self,
}:
writeShellScriptBin "run-tests" ''
#!${bash}/bin/bash
export PATH=${
lib.makeBinPath [
nix-eval-jobs
nix-eval-jobs.nix
]
}
exec ${python3.interpreter} ${self}/tests/run.py
''