mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-27 14:23:45 -05:00
default.nix#doomLocal: disable git hooks in the new way
This commit is contained in:
@@ -41,7 +41,10 @@
|
|||||||
(advice-add '+org-fix-package-h
|
(advice-add '+org-fix-package-h
|
||||||
:override (lambda (&rest r)))
|
:override (lambda (&rest r)))
|
||||||
|
|
||||||
;; don't try adding the git hooks
|
;; don't try adding the git hooks for old dooms. this function is
|
||||||
|
;; undefined in newer dooms and a CLI argument is used instead.
|
||||||
|
;;
|
||||||
|
;; kept around for backwards-compat, but this is not a priority.
|
||||||
(advice-add 'doom-cli--ci-deploy-hooks
|
(advice-add 'doom-cli--ci-deploy-hooks
|
||||||
:override (lambda (&rest r)))
|
:override (lambda (&rest r)))
|
||||||
|
|
||||||
|
@@ -89,6 +89,7 @@ let
|
|||||||
patches = [
|
patches = [
|
||||||
./patches/fix-paths.patch
|
./patches/fix-paths.patch
|
||||||
./patches/cli-early-init-load.patch
|
./patches/cli-early-init-load.patch
|
||||||
|
./patches/cli-no-quickstart.patch
|
||||||
];
|
];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
@@ -117,7 +118,7 @@ let
|
|||||||
emacsPackages.overrideScope' overrides;
|
emacsPackages.overrideScope' overrides;
|
||||||
emacs = emacsPackages.emacsWithPackages extraPackages;
|
emacs = emacsPackages.emacsWithPackages extraPackages;
|
||||||
emacsLoadFiles = [ ./advice.el ];
|
emacsLoadFiles = [ ./advice.el ];
|
||||||
emacsArgs = [ "--" "install" ];
|
emacsArgs = [ "--" "install" "--no-hooks" ];
|
||||||
|
|
||||||
# Need to reference a store path here, as byte-compilation will bake-in
|
# Need to reference a store path here, as byte-compilation will bake-in
|
||||||
# absolute path to source files.
|
# absolute path to source files.
|
||||||
|
Reference in New Issue
Block a user