buildbot-nix/nix/checks/flake-module.nix

17 lines
352 B
Nix

{ self, ... }: {
perSystem =
{ pkgs
, ...
}: {
checks =
let
# this gives us a reference to our flake but also all flake inputs
checkArgs = { inherit self pkgs; };
in
{
master = import ./master.nix checkArgs;
worker = import ./worker.nix checkArgs;
};
};
}