nixos-wiki-infra/checks/flake-module.nix

16 lines
298 B
Nix
Raw Normal View History

2023-11-19 09:23:50 +01:00
{ self, ... }: {
perSystem =
{ pkgs
, ...
}: {
checks =
let
# this gives us a reference to our flake but also all flake inputs
checkArgs = { inherit self pkgs; };
in
{
test = import ./test.nix checkArgs;
};
};
}