tests: switch package to writeShellApplication

This commit is contained in:
Matt Sturgeon
2025-11-01 10:39:01 +00:00
committed by Austin Horstman
parent 5fb2203af7
commit 9278414dcc

View File

@@ -1,8 +1,14 @@
{
flake,
python3,
writeShellScriptBin,
writeShellApplication,
}:
writeShellScriptBin "tests" ''
exec ${python3}/bin/python3 ${flake}/tests/tests.py "$@"
''
writeShellApplication {
name = "tests";
runtimeInputs = [
python3
];
text = ''
exec python3 ${flake}/tests/tests.py "$@"
'';
}