Skip to content

Commit

Permalink
flake: add formatting check
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Dec 18, 2023
1 parent 214aa4e commit 7af652a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
};

outputs =
{ nixpkgs
{ self
, nixpkgs
, flake-utils
, treefmt-nix
, ...
Expand All @@ -36,6 +37,10 @@

formatter = treefmtEval.config.build.wrapper;

checks = {
formatting = treefmtEval.config.build.check self;
};

legacyPackages = pkgs;
});
}

0 comments on commit 7af652a

Please sign in to comment.