summary refs log tree commit diff
path: root/pkgs/build-support/emacs
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-02-15 17:30:59 -0600
committerGitHub <noreply@github.com>2018-02-15 17:30:59 -0600
commita5e28a554e6b1fde424af8b7834bcfccf49a9abd (patch)
tree1d795601258b8fb74a1832f5cd2b157b73eeb0bb /pkgs/build-support/emacs
parentb98a3f247abe94ecdd96719df1a3e5dfc9ebf25a (diff)
downloadnixpkgs-a5e28a554e6b1fde424af8b7834bcfccf49a9abd.tar
nixpkgs-a5e28a554e6b1fde424af8b7834bcfccf49a9abd.tar.gz
nixpkgs-a5e28a554e6b1fde424af8b7834bcfccf49a9abd.tar.bz2
nixpkgs-a5e28a554e6b1fde424af8b7834bcfccf49a9abd.tar.lz
nixpkgs-a5e28a554e6b1fde424af8b7834bcfccf49a9abd.tar.xz
nixpkgs-a5e28a554e6b1fde424af8b7834bcfccf49a9abd.tar.zst
nixpkgs-a5e28a554e6b1fde424af8b7834bcfccf49a9abd.zip
nix-buffer: make eshell-path-env be inherited
Diffstat (limited to 'pkgs/build-support/emacs')
-rw-r--r--pkgs/build-support/emacs/buffer.nix2
1 files changed, 2 insertions, 0 deletions
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)