summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-08 21:27:12 +0200
committerAlan Pearce2019-10-08 21:27:12 +0200
commitb047b095375db5145ee2328b02346c19fc0de246 (patch)
treea04ddaf45c21ec2ecea7c1ba4c72d931969921bc
parent2ccac55456347fa2560c64b9c201c5a1f0478c0a (diff)
downloadnixfiles-b047b095375db5145ee2328b02346c19fc0de246.tar.lz
nixfiles-b047b095375db5145ee2328b02346c19fc0de246.tar.zst
nixfiles-b047b095375db5145ee2328b02346c19fc0de246.zip
Emacs: remove exec-path-from-shell. Not necessary with home-manager
-rw-r--r--user/emacs/.emacs.d/main.el8
-rw-r--r--user/modules/emacs.nix2
2 files changed, 0 insertions, 10 deletions
diff --git a/user/emacs/.emacs.d/main.el b/user/emacs/.emacs.d/main.el
index 4ee62507..4a30df6a 100644
--- a/user/emacs/.emacs.d/main.el
+++ b/user/emacs/.emacs.d/main.el
@@ -8,14 +8,6 @@
   (setq use-package-expand-minimally t))
 (setq use-package-always-demand (daemonp))
 
-(use-package exec-path-from-shell
-  :if (eq system-type 'darwin)
-  :commands (exec-path-from-shell-initialize)
-  :custom ((exec-path-from-shell-arguments nil)
-           (exec-path-from-shell-debug t))
-  :init (progn
-          (exec-path-from-shell-initialize)))
-
 ;;; Customize
 
 (setq custom-file "~/.emacs.d/custom.el")
diff --git a/user/modules/emacs.nix b/user/modules/emacs.nix
index 10c87eeb..b6ac0395 100644
--- a/user/modules/emacs.nix
+++ b/user/modules/emacs.nix
@@ -138,8 +138,6 @@ in
       ws-butler
       which-key
       yaml-mode
-    ] ++ lib.optionals stdenv.isDarwin [
-      exec-path-from-shell
     ] ++ lib.optionals (!stdenv.isDarwin) [
       pkgs.mu
     ]);