21 lines
350 B
Nix
21 lines
350 B
Nix
{ pkgs }:
|
|
let
|
|
packages = builtins.attrValues {
|
|
inherit (pkgs)
|
|
shellcheck
|
|
shfmt
|
|
;
|
|
inherit (pkgs.nodePackages) bash-language-server;
|
|
};
|
|
in
|
|
{
|
|
inherit packages;
|
|
devShell = pkgs.mkShell {
|
|
inherit packages;
|
|
name = "sh-dev-shell";
|
|
shellHook = ''
|
|
echo "💻 Shell scripting dev environment"
|
|
'';
|
|
};
|
|
}
|