about summary refs log tree commit diff
path: root/modules/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/emacs')
-rw-r--r--modules/emacs/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/emacs/default.nix b/modules/emacs/default.nix
index 2230ee0..8a6707c 100644
--- a/modules/emacs/default.nix
+++ b/modules/emacs/default.nix
@@ -60,11 +60,11 @@ in
 
                 if [[ -x "$EMACSDIR/bin/doom" ]]; then
                   if [[ ! -d "$EMACSDIR/.local" ]]; then
-                    PATH="''${PATH:-/bin:/usr/bin:/usr/local/bin}:${emacs.package}/bin:${git.package}/bin" \
+                    PATH="''${PATH:-/bin}:${emacs.package}/bin:${git.package}/bin" \
                       "$EMACSDIR/bin/doom" install --force --verbose
                   fi
 
-                  PATH="''${PATH:-/bin:/usr/bin:/usr/local/bin}:${emacs.package}/bin:${git.package}/bin" \
+                  PATH="''${PATH:-/bin:}:${emacs.package}/bin:${git.package}/bin" \
                     "$EMACSDIR/bin/doom" sync -e --gc --force --verbose
                 fi
               '';

Consider giving Nix/NixOS a try! <3