about summary refs log tree commit diff
path: root/modules/emacs
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-04 16:11:40 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-04 16:11:40 +0300
commit3cd3233f7eaf2a8a715d587820d6d4577a24d958 (patch)
treef87bd583c383b8ac3496229ab6f1d3a00a2253a0 /modules/emacs
parent2024-05-02 (diff)
2024-05-04
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