summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-04-17 09:24:58 +0200
committerAlan Pearce2023-04-17 09:24:58 +0200
commit0f6e5efe6b8d2418fef02755dae1ae2c1bb823e8 (patch)
tree74eff0f489944bd47905c8ea83976e2ab1c6537d /user
parent53b7c75e7ac69f059444963adf6f5ceb9d96bd8f (diff)
downloadnixfiles-0f6e5efe6b8d2418fef02755dae1ae2c1bb823e8.tar.lz
nixfiles-0f6e5efe6b8d2418fef02755dae1ae2c1bb823e8.tar.zst
nixfiles-0f6e5efe6b8d2418fef02755dae1ae2c1bb823e8.zip
Fix Emacs triggering XCode installer popups
Diffstat (limited to 'user')
-rw-r--r--user/settings/emacs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index befc302d..db0c3357 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -7,7 +7,7 @@ let
   inherit (pkgs) stdenv;
 
   darwinPath = pkgs.runCommandLocal "path_helper " { } ''
-    eval $(/usr/libexec/path_helper -s)
+    eval $(/usr/libexec/path_helper)
     echo -n $PATH > $out
   '';
 
@@ -167,7 +167,7 @@ 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}")))
+      (setq exec-path (parse-colon-path (setenv "PATH" "${pkgs.clang}/bin:${pkgs.gcc}/bin:${pkgs.lib.readFile darwinPath}")))
     '';
   };
   home.packages = [