nixos-configs/devShells/neovim-shells/default.nix

27 lines
532 B
Nix
Raw Normal View History

{
pkgs,
self,
...
}: let
inherit (pkgs.lib) listToAttrs nameValuePair;
mkLangsShells = langs:
2025-01-20 11:40:34 -05:00
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"
]