Refactor tests to load flake inputs with flake-compat

This makes `nix fmt` just works and we no longer have to override flake
inputs.
This commit is contained in:
Jörg Thalheim committed 2025-10-30 12:36:49 +01:00
1 parent 2379bc4099
commit 4bafcc2454
10 files changed
+491 -190

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
{
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
''