Fixed direnv losing access to nix pkgs

This commit is contained in:
Aleksandr Lebedev 2025-07-28 08:40:14 +02:00
parent 34035d410d
commit 942ea72b92

View file

@ -8,6 +8,9 @@
${builtins.readFile ./config.org} ${builtins.readFile ./config.org}
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq dashboard-startup-banner '("${./nixmacs.xpm}" 'logo)) (setq dashboard-startup-banner '("${./nixmacs.xpm}" 'logo))
;;https://github.com/wbolster/emacs-direnv/issues/85
(setenv "PATH" (mapconcat 'identity exec-path ":")) ;;fixes direnv losing nix pkgs
#+end_src #+end_src
''; '';
configFile = pkgs.tangleOrgBabelFile "default.el" preTangledFile { configFile = pkgs.tangleOrgBabelFile "default.el" preTangledFile {