all repos — nixfiles @ 0641454b42948146135fb7f302fdd98432855b24

System and user configuration, managed by nix and home-manager

emacs: remove darwin path setting

no longer needed thanks to use of Raycast script
Alan Pearce alan@alanpearce.eu
Wed, 15 May 2024 22:33:56 +0200
commit

0641454b42948146135fb7f302fdd98432855b24

parent

312a4ce589f85d955a19b9d86f0c89b930147072

1 files changed, 0 insertions(+), 6 deletions(-)

jump to
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -8,11 +8,6 @@ inherit (pkgs) stdenv; 
   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 @@ (with-eval-after-load 'files         (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; [