mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
20 lines
283 B
Nix
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
|
|
''
|