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

21 lines
364 B
Nix
Raw Normal View History

{
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;}))
langs);
in
mkLangsShells [
"csharp"
"json"
"lua"
"markdown"
"rust"
"web"
"c-lang"
]