From 546c7a84b76e31a8454435006d34bab3d920982d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= Date: Fri, 21 Aug 2020 15:47:18 +0200 Subject: [PATCH] nix-doom-emacs: add env variables to aid debugging --- default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 4b2fc82..4048a21 100644 --- a/default.nix +++ b/default.nix @@ -187,7 +187,10 @@ in emacs.overrideAttrs (esuper: let cmd = '' for prog in $out/bin/*; do - wrapProgram $out/bin/$(basename $prog) --set DOOMDIR ${doomDir} + wrapProgram $out/bin/$(basename $prog) \ + --set DOOMDIR ${doomDir} \ + --set __DEBUG_doom_emacs_DIR ${doom-emacs} \ + --set __DEBUG_doomLocal_DIR ${doomLocal} done # emacsWithPackages assumes share/emacs/site-lisp/subdirs.el # exists, but doesn't pass it along. When home-manager calls