Add nix flake checks
This commit is contained in:
parent
d6cb49a0d1
commit
056acbf397
3 changed files with 74 additions and 3 deletions
10
flake.nix
10
flake.nix
|
|
@ -25,7 +25,10 @@
|
|||
})
|
||||
];
|
||||
pkgs = import nixpkgs {inherit system overlays;};
|
||||
package = import ./nix/package.nix {inherit self nix-filter pkgs;};
|
||||
package = import ./nix/package.nix {
|
||||
inherit self pkgs;
|
||||
nix-filter = nix-filter.lib;
|
||||
};
|
||||
in {
|
||||
packages.${system} = rec {
|
||||
tlaternet-templates = package.package;
|
||||
|
|
@ -35,5 +38,10 @@
|
|||
devShells.${system} = {
|
||||
default = package.shell;
|
||||
};
|
||||
|
||||
checks.${system} = import ./nix/checks.nix {
|
||||
inherit self pkgs;
|
||||
nix-filter = nix-filter.lib;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue