summary refs log tree commit diff stats
path: root/user/settings/emacs.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-05-15 22:33:56 +0200
committerAlan Pearce2024-05-18 12:17:12 +0200
commit0641454b42948146135fb7f302fdd98432855b24 (patch)
treee6c13939cddf0bad396671fb087452c57287771b /user/settings/emacs.nix
parent312a4ce589f85d955a19b9d86f0c89b930147072 (diff)
downloadnixfiles-0641454b42948146135fb7f302fdd98432855b24.tar.lz
nixfiles-0641454b42948146135fb7f302fdd98432855b24.tar.zst
nixfiles-0641454b42948146135fb7f302fdd98432855b24.zip
emacs: remove darwin path setting
no longer needed thanks to use of Raycast script
Diffstat (limited to 'user/settings/emacs.nix')
-rw-r--r--user/settings/emacs.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index f1d2ef2e..785b972c 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -8,11 +8,6 @@ let
 
   nativeCompileDirectory = "${config.xdg.cacheHome}/emacs/native-compile/";
 
-  darwinPath = pkgs.runCommandLocal "path_helper " { } ''
-    eval $(/usr/libexec/path_helper)
-    echo -n $PATH > $out
-  '';
-
   editorScript = pkgs.writeScriptBin "edit" ''
     #!${pkgs.runtimeShell}
     if [ -z "$1" ]; then
@@ -184,7 +179,6 @@ in
         (setq insert-directory-program "${pkgs.coreutils-prefixed}/bin/gls"))
       (with-eval-after-load 'dired
         (setq dired-use-ls-dired t))
-      (setq exec-path (parse-colon-path (setenv "PATH" "${pkgs.lib.readFile darwinPath}")))
     '';
   };
   home.packages = with pkgs; [