about summary refs log tree commit diff stats
path: root/default.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-11-16 13:11:06 +0100
committerAlan Pearce2024-11-16 13:11:06 +0100
commit72018b5585e945aa51a3a557a641cce17cabaf26 (patch)
tree5dfaa8c99fba0cb233192097273931d7d148f7d7 /default.nix
parentcd04ffd199e989f233797d18013fe35380b0376d (diff)
downloadwebsite-72018b5585e945aa51a3a557a641cce17cabaf26.tar.lz
website-72018b5585e945aa51a3a557a641cce17cabaf26.tar.zst
website-72018b5585e945aa51a3a557a641cce17cabaf26.zip
Switch back to flakes
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix21
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;
-      };
-    };
-  };
-}