-
Hi, I recently switched from a plain nvim config to nixCats and it's awesome. 👍 I just wish I could open a nix shell with lspsAndRuntimeDeps available, without using nvims terminal. Has anyone done this or could anyone give me a hint how I could achieve that? The dev shell example from the kickstart template allows me to use my custom nvim, but does not provide access to the lsp binaries:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You could factor out the list and provide it both places? Or just put them in there directly? Make a function that takes a pkgs and returns a list and call it both places or something. NixCats only manages the neovim install, it makes a drv with those things in its environment. Making shells is a separate thing but you can always factor stuff out in nix to reduce duplication if you want, it is a whole programming language after all. But nixCats will only provision for neovim and its subprocesses. |
Beta Was this translation helpful? Give feedback.
You could factor out the list and provide it both places? Or just put them in there directly? Make a function that takes a pkgs and returns a list and call it both places or something.
mydeps = pkgs: with pkgs; [ idk ];
and then callmydeps pkgs
wherever you need them.NixCats only manages the neovim install, it makes a drv with those things in its environment. Making shells is a separate thing but you can always factor stuff out in nix to reduce duplication if you want, it is a whole programming language after all. But nixCats will only provision for neovim and its subprocesses.