host mac
This commit is contained in:
20
modules/dev/sh/common.nix
Normal file
20
modules/dev/sh/common.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ 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"
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user