null-ls: add beautysh and shellcheck

This commit is contained in:
Pedro Alves 2022-11-15 11:36:42 +00:00
parent 4f08c8a4bf
commit 4c36cdc2e7
4 changed files with 156 additions and 7 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }@args:
{ pkgs, config, lib, inputs, ... }@args:
let
helpers = import ./helpers.nix args;
serverData = {
@ -8,6 +8,9 @@ let
flake8 = {
packages = [ pkgs.python3Packages.flake8 ];
};
shellcheck = {
packages = [ pkgs.shellcheck ];
};
};
formatting = {
phpcbf = {
@ -25,6 +28,9 @@ let
black = {
packages = [ pkgs.python3Packages.black ];
};
beautysh = {
packages = [ inputs.beautysh.packages.${pkgs.system}.beautysh-python38 ];
};
};
};
# Format the servers to be an array of attrs like the following example