From 9f241aa1191f20f47b220bb4b1d26c87c232dd1b Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 7 May 2023 14:34:46 -0400 Subject: devshell: add nil to pre-commit-hooks --- flake/dev.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'flake/dev.nix') diff --git a/flake/dev.nix b/flake/dev.nix index dcf67d9..c00328b 100644 --- a/flake/dev.nix +++ b/flake/dev.nix @@ -3,7 +3,7 @@ inputs, ... }: let - inherit (inputs) pre-commit-hooks ragenix; + inherit (inputs) nil pre-commit-hooks ragenix; in { perSystem = { pkgs, @@ -17,6 +17,7 @@ in { actionlint.enable = true; alejandra.enable = true; deadnix.enable = true; + nil.enable = true; statix.enable = true; stylua.enable = true; }; @@ -30,12 +31,13 @@ in { inherit (self.checks.${system}.pre-commit-check) shellHook; packages = with pkgs; [ actionlint - ragenix.packages.${system}.ragenix alejandra deadnix fzf git-crypt just + nil.packages.${system}.nil + ragenix.packages.${system}.ragenix statix stylua ]; -- cgit v1.2.3