From 76580e8954418fcc17fd96d7f91a7bc4616c9314 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 28 Jun 2022 08:22:13 -0700 Subject: fix(home/git): install pre-commit tool The tool `pre-commit' is installed as part of the nix shell for this repository, but not on the host (or in my profile). It means that if I try to make a commit via Emacs/magit, it fails, since it's not in my path. By installing it with home-manager, it's in the path, and it can be used by magit when creating a commit. Change-Id: Ifa61d0be1027043eecaf11dd40fbba1ed2f5a9a6 Reviewed-on: https://cl.fcuny.net/c/world/+/591 Tested-by: CI Reviewed-by: Franck Cuny --- home/git/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/git/default.nix b/home/git/default.nix index 7ec9dcc..fc368f7 100644 --- a/home/git/default.nix +++ b/home/git/default.nix @@ -62,6 +62,6 @@ in ]; }; xdg.dataFile."git/commit.template" = { source = ./commit.template; }; - home.packages = with pkgs; [ tools.git-blame-stats ]; + home.packages = with pkgs; [ tools.git-blame-stats gitAndTools.pre-commit ]; }; } -- cgit 1.4.1