From a5e28a554e6b1fde424af8b7834bcfccf49a9abd Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Thu, 15 Feb 2018 17:30:59 -0600 Subject: [PATCH] nix-buffer: make eshell-path-env be inherited --- pkgs/build-support/emacs/buffer.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/build-support/emacs/buffer.nix b/pkgs/build-support/emacs/buffer.nix index 550163ddd69..8f824f4e1a5 100644 --- a/pkgs/build-support/emacs/buffer.nix +++ b/pkgs/build-support/emacs/buffer.nix @@ -45,6 +45,8 @@ rec { (setenv "PATH" (concat "${lib.makeSearchPath "bin" pkgs}:" (getenv "PATH"))) (inherit-local-permanent exec-path (append '(${builtins.concatStringsSep " " (map (p: "\"${p}/bin\"") pkgs)}) exec-path)) + (inherit-local-permanent eshell-path-env (concat "${lib.makeSearchPath "bin" pkgs}:" eshell-path-env)) + (setq nixpkgs--is-nixpkgs-buffer t) (inherit-local 'nixpkgs--is-nixpkgs-buffer)