Add minimal (internal) tests

This commit is contained in:
Thomas Preisner 2024-12-07 02:35:16 +01:00
parent a592881b8b
commit 9687dbaae1
3 changed files with 62 additions and 0 deletions

View file

@ -32,6 +32,15 @@
system,
...
}: {
checks = let
tests = ["internal"];
genTest = testName: {
"name" = testName;
"value" = import (./tests + "/${testName}.nix") {inherit pkgs;};
};
in
pkgs.lib.listToAttrs (map genTest tests);
devShells.default = pkgs.mkShell {
packages = with pkgs; [
alejandra