docs: add descriptions to devShells
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-01-20 11:40:34 -05:00
parent b32fbc08bd
commit 2440029757
5 changed files with 25 additions and 3 deletions

View file

@ -43,4 +43,8 @@ mkShell {
''; '';
}) })
]; ];
meta.description = ''
Shell providing some utility scripts concerning the main flake.
'';
} }

View file

@ -5,9 +5,15 @@
}: let }: let
inherit (pkgs.lib) listToAttrs nameValuePair; inherit (pkgs.lib) listToAttrs nameValuePair;
mkLangsShells = langs: mkLangsShells = langs:
listToAttrs (map (l: listToAttrs (map (
nameValuePair l (pkgs.callPackage "${self}/homeManagerModules/neovim/langs/${l}/shell.nix" {inherit self;})) l:
langs); 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 in
mkLangsShells [ mkLangsShells [
"csharp" "csharp"

View file

@ -7,4 +7,8 @@ mkShell {
packages = [ packages = [
dotnetCorePackages.sdk_9_0 dotnetCorePackages.sdk_9_0
]; ];
meta.description = ''
Shell that makes sure we have the right dotnet-sdk version for NetDaemon development.
'';
} }

View file

@ -11,4 +11,8 @@ mkShell {
nodejs_latest nodejs_latest
typescript typescript
]; ];
meta.description = ''
Shell that provides `bumpNpmDeps`, node and typescript.
'';
} }

View file

@ -16,4 +16,8 @@ mkShell {
bumpNpmDeps bumpNpmDeps
]; ];
meta.description = ''
Shell that provides the dependencies for my subtitle management scripts.
'';
} }