From 2aa784e71b71df1642ddd088316161c4981c4673 Mon Sep 17 00:00:00 2001 From: DavidMazarro Date: Tue, 12 Nov 2024 14:17:56 +0100 Subject: [PATCH] build(nix): added pre-commit to dev shell --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index a7f3c64..fd9d386 100644 --- a/flake.nix +++ b/flake.nix @@ -36,10 +36,13 @@ hlint = {}; haskell-language-server = {}; }; + shell.buildInputs = with pkgs; [ + pre-commit + ]; compiler-nix-name = "ghc966"; }; }) - ]; + ]; pkgs = import nixpkgs { inherit system overlays; inherit (haskellNix) config; }; flake = pkgs.hapistrano.flake { }; in rec {