diff options
author | Alan Pearce | 2024-11-16 13:11:06 +0100 |
---|---|---|
committer | Alan Pearce | 2024-11-16 13:11:06 +0100 |
commit | 72018b5585e945aa51a3a557a641cce17cabaf26 (patch) | |
tree | 5dfaa8c99fba0cb233192097273931d7d148f7d7 /default.nix | |
parent | cd04ffd199e989f233797d18013fe35380b0376d (diff) | |
download | website-72018b5585e945aa51a3a557a641cce17cabaf26.tar.lz website-72018b5585e945aa51a3a557a641cce17cabaf26.tar.zst website-72018b5585e945aa51a3a557a641cce17cabaf26.zip |
Switch back to flakes
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; - }; - }; - }; -} |