diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/default.nix b/default.nix deleted file mode 100644 index 779ea74..0000000 --- a/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -let - sources = import ./npins; - - pkgs = import sources.nixpkgs { }; - pre-commit-hooks = import sources.pre-commit-hooks; -in -{ - pre-commit-check = pre-commit-hooks.run { - src = ./.; - hooks = { - go-mod-tidy = { - enable = true; - name = "go-mod-tidy"; - description = "Run `go mod tidy`"; - types_or = [ "go" "go-mod" ]; - entry = "${pkgs.go}/bin/go mod tidy"; - pass_filenames = false; - }; - }; - }; -} |