air-quality-monitor/nix/tests/default.nix

27 lines
435 B
Nix
Raw Permalink Normal View History

2023-11-28 21:26:35 +00:00
{
self,
config,
inputs,
lib,
...
}: {
perSystem = {
pkgs,
self',
...
}: let
callPackage = lib.callPackageWith (pkgs
// {
inherit (config.flake) nixosModules;
inherit inputs;
});
in {
packages.test = self'.checks.basic.driverInteractive;
checks = {
basic = callPackage ./checks/basic.nix {inherit self self';};
2023-11-28 21:26:35 +00:00
default = self'.checks.basic;
};
};
}