nixos-configs/devShells/neovim-shells/default.nix
matt1432 2440029757
All checks were successful
Discord / discord commits (push) Has been skipped
docs: add descriptions to devShells
2025-01-20 11:40:34 -05:00

26 lines
532 B
Nix

{
pkgs,
self,
...
}: let
inherit (pkgs.lib) listToAttrs nameValuePair;
mkLangsShells = langs:
listToAttrs (map (
l:
nameValuePair
l
((pkgs.callPackage "${self}/homeManagerModules/neovim/langs/${l}/shell.nix" {inherit self;}).overrideAttrs (o: {
meta.description = "${l} shell to be loaded by my Neovim config dynamically.";
}))
)
langs);
in
mkLangsShells [
"csharp"
"json"
"lua"
"markdown"
"rust"
"web"
"c-lang"
]