Skip to content

Commit

Permalink
treefmt2 2.0.0-rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed May 18, 2024
1 parent e5e4a5d commit 5b1cbaf
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dev/treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Used to find the project root
projectRootFile = ".git/config";

package = pkgs.treefmt2;
#package = pkgs.treefmt2;

programs = {
deadnix.enable = true;
Expand Down
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";

treefmt.url = "github:qowoz/nixpkgs/treefmt2";

treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
};
Expand All @@ -71,6 +73,7 @@
./terraform/shell.nix
];
treefmt = {
package = inputs.treefmt.legacyPackages.${pkgs.system}.treefmt2;
flakeCheck = defaultPlatform;
imports = [ ./dev/treefmt.nix ];
};
Expand Down

0 comments on commit 5b1cbaf

Please sign in to comment.