From 16e0da202892e3f352ee5bbcaf96e6ffe765c380 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Sat, 20 Jul 2024 18:18:43 -0700 Subject: [PATCH] Add PATH setup back Actually I realized this is necessary. Because I'm testing this out on an arch system that has emacs installed at the system level it was building doom using the system emacs instead of the nix emacs --- home.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 7a07eb1..c43fc47 100644 --- a/home.nix +++ b/home.nix @@ -89,7 +89,10 @@ with import {}; }; }; - home.activation.doomSync = lib.hm.dag.entryAfter [ "writeBoundary" ] ('' + home.activation.doomSync = lib.hm.dag.entryAfter [ "writeBoundary" ] (let + emacs = pkgs.emacs; + in '' + export PATH=${emacs}/bin:$PATH ${config.xdg.configHome}/emacs/bin/doom sync -u -j $((`nproc`/4*3)) '');