Compare commits
1 Commits
ac85b6f608
...
be7b39f41a
Author | SHA1 | Date | |
---|---|---|---|
be7b39f41a
|
11
flake.nix
11
flake.nix
@@ -28,7 +28,16 @@
|
|||||||
{
|
{
|
||||||
packages.${system} = import ./packages { inherit pkgs; };
|
packages.${system} = import ./packages { inherit pkgs; };
|
||||||
formatter.${system} = treefmt.config.build.wrapper;
|
formatter.${system} = treefmt.config.build.wrapper;
|
||||||
checks.${system}.formatting = treefmt.config.build.check inputs.self;
|
|
||||||
|
checks.${system} =
|
||||||
|
let
|
||||||
|
packages = pkgs.lib.mapAttrs' (
|
||||||
|
n: pkgs.lib.nameValuePair "package-${n}"
|
||||||
|
) inputs.self.packages.${system};
|
||||||
|
|
||||||
|
formatter.formatting = treefmt.config.build.check inputs.self;
|
||||||
|
in
|
||||||
|
packages // formatter;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user