default.nix#doomLocal: disable git hooks in the new way

This commit is contained in:
ckie
2022-09-11 15:41:45 +03:00
parent 1102e37e8d
commit 29ce7ebecd
2 changed files with 6 additions and 2 deletions

View File

@@ -89,6 +89,7 @@ let
patches = [
./patches/fix-paths.patch
./patches/cli-early-init-load.patch
./patches/cli-no-quickstart.patch
];
installPhase = ''
mkdir -p $out
@@ -117,7 +118,7 @@ let
emacsPackages.overrideScope' overrides;
emacs = emacsPackages.emacsWithPackages extraPackages;
emacsLoadFiles = [ ./advice.el ];
emacsArgs = [ "--" "install" ];
emacsArgs = [ "--" "install" "--no-hooks" ];
# Need to reference a store path here, as byte-compilation will bake-in
# absolute path to source files.