Skip to content

Nix shell with lspsAndRuntimeDeps #96

Answered by BirdeeHub
JaCoB1123 asked this question in Q&A
Discussion options

You must be logged in to vote

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 call mydeps 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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JaCoB1123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants