nix-buffer: make eshell-path-env be inherited
commita5e28a554e6b1fde424af8b7834bcfccf49a9abd
authorMatthew Justin Bauer <mjbauer95@gmail.com>
dateThu 15 Feb 2018, 17:30 (9 years ago)
parentb98a3f2
pkgs/build-support/emacs/buffer.nix+2
@@ -45,6 +45,8 @@ rec {
4545 (setenv "PATH" (concat "${lib.makeSearchPath "bin" pkgs}:" (getenv "PATH")))
4646 (inherit-local-permanent exec-path (append '(${builtins.concatStringsSep " " (map (p: "\"${p}/bin\"") pkgs)}) exec-path))
4747
48+ (inherit-local-permanent eshell-path-env (concat "${lib.makeSearchPath "bin" pkgs}:" eshell-path-env))
49+
4850 (setq nixpkgs--is-nixpkgs-buffer t)
4951 (inherit-local 'nixpkgs--is-nixpkgs-buffer)
5052