air-quality-monitor/nix/tests/default.nix
2023-11-29 00:26:35 +03:00

27 lines
429 B
Nix

{
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;};
default = self'.checks.basic;
};
};
}