mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02:00
docs: comment for nvim-shell
This commit is contained in:
@@ -155,8 +155,10 @@
|
|||||||
in
|
in
|
||||||
nvim_extra
|
nvim_extra
|
||||||
++ [
|
++ [
|
||||||
# NOTE: shells installed by Nix will ignore the `PATH` env passed by parent process,
|
# NOTE: shells installed by nix-darwin will ignore the `PATH` env passed by parent process,
|
||||||
# so to access the packages we installed here in neovim's shell session(`:terminal`),
|
# it's likely a bug of nix-darwin, `PATH` passing on NixOS works fine.
|
||||||
|
#
|
||||||
|
# So to access the packages we installed here in neovim's shell session(`:terminal`),
|
||||||
# we have to create a shell wrapper with the packages in `PATH` env.
|
# we have to create a shell wrapper with the packages in `PATH` env.
|
||||||
(pkgs.runCommand "nvim-shell" rec {
|
(pkgs.runCommand "nvim-shell" rec {
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
|
|||||||
Reference in New Issue
Block a user