add formatter to flake
This commit is contained in:
parent
e60c43b376
commit
5efe18e222
2 changed files with 20 additions and 3 deletions
|
@ -21,12 +21,14 @@
|
|||
src = ./.;
|
||||
modules = ./gomod2nix.toml;
|
||||
};
|
||||
in {
|
||||
defaultPackage = sanic;
|
||||
in
|
||||
{
|
||||
packages.default = sanic;
|
||||
formatter = pkgs.nixpkgs-fmt;
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
go
|
||||
go-tools # staticcheck
|
||||
go-tools # staticcheck
|
||||
gomod2nix.packages.${system}.default
|
||||
sanic
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue