nixos-configs/devShells/langs.nix
matt1432 b8d9e9ff92
All checks were successful
Discord / discord commits (push) Has been skipped
feat(nvim): expose devShells through my flake
2024-12-22 00:27:24 -05:00

20 lines
357 B
Nix

{
pkgs,
self,
...
}: let
inherit (pkgs.lib) listToAttrs nameValuePair;
mkLangsShells = langs:
listToAttrs (map (l:
nameValuePair l (pkgs.callPackage ../homeManagerModules/neovim/langs/${l}/shell.nix {inherit self;}))
langs);
in
mkLangsShells [
"csharp"
"json"
"lua"
"markdown"
"rust"
"web"
"c-lang"
]