{ 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; }; }; }