nixBufferBuilders: Don't assume the user has used eshell

This commit is contained in:
Shea Levy 2023-08-18 04:49:33 -04:00
parent 994f2560d0
commit bf7a81d8dd
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27

View File

@ -45,7 +45,7 @@ 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))
(inherit-local-permanent eshell-path-env (concat "${lib.makeSearchPath "bin" pkgs}:" (if (boundp 'eshell-path-env) eshell-path-env (getenv "PATH"))))
(setq nixpkgs--is-nixpkgs-buffer t)
(inherit-local 'nixpkgs--is-nixpkgs-buffer)