flake-modules: add treefmt to fix the 'nix fmt' command

This commit is contained in:
Gaetan Lepage 2024-05-07 16:45:47 +02:00 committed by Gaétan Lepage
parent ba545ded79
commit f7f255afe2
4 changed files with 58 additions and 3 deletions

View file

@ -16,10 +16,16 @@
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
# A flake-parts module for finding the project root directory
flake-root.url = "github:srid/flake-root";
devshell = {
url = "github:numtide/devshell";
inputs.nixpkgs.follows = "nixpkgs";
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";