From 836d22963638c59083b8b77a8665d1223ef4c22a Mon Sep 17 00:00:00 2001 From: Krzysztof Baranowski Date: Wed, 7 Sep 2022 12:10:48 -0700 Subject: [PATCH] fix(nix): remove :mode hook for `nix-drv-mode` The nix-mode package already does this and it shadows other entries for the .drv files in auto-mode-alist (namely Guix derivations). Ref: https://github.com/NixOS/nix-mode/blob/34d51e2731408b5b615f785a83faa3d6dc2a92a1/nix-drv-mode.el#L48 --- modules/lang/nix/config.el | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/lang/nix/config.el b/modules/lang/nix/config.el index af2f254e0..5e6677220 100644 --- a/modules/lang/nix/config.el +++ b/modules/lang/nix/config.el @@ -45,10 +45,6 @@ "o" #'+nix/lookup-option)) -(use-package! nix-drv-mode - :mode "\\.drv\\'") - - (use-package! nix-update :commands nix-update-fetch)