From 942ea72b92c5d7d2fd6ba6cfa9d0289413009121 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Mon, 28 Jul 2025 08:40:14 +0200 Subject: [PATCH] Fixed direnv losing access to nix pkgs --- package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.nix b/package.nix index 3bff0f0..3a59f17 100644 --- a/package.nix +++ b/package.nix @@ -8,6 +8,9 @@ ${builtins.readFile ./config.org} #+begin_src emacs-lisp (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 ''; configFile = pkgs.tangleOrgBabelFile "default.el" preTangledFile {