diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-03-05 00:02:36 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-03-05 00:02:36 -0800 |
| commit | bd1f7c1574745caddecc08d755fed3c6f6bbc79e (patch) | |
| tree | d44dd54471a3cd5f4773599dc7eacfbf803dbca0 | |
| parent | dfc908d06d5f0de271c6e48b0d32370ca66a9346 (diff) | |
better hooks
| l--------- | .pre-commit-config.yaml | 2 | ||||
| -rw-r--r-- | flake.nix | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a23c4bb..b1255dc 120000 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1 +1 @@ -/nix/store/0l5adw0chd57sddq3qvaqqvxd15cxn19-pre-commit-config.json
\ No newline at end of file +/nix/store/dpkk5c7lx4hrkczwjpzi0qzzkr5i1j8k-pre-commit-config.json
\ No newline at end of file @@ -2,12 +2,14 @@ description = "Build my static site with my installer"; inputs = { + self.submodules = true; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; git-hooks = { url = "github:cachix/git-hooks.nix"; inputs.nixpkgs.follows = "nixpkgs"; }; - nixmacs.url = ./nix; + nixmacs.url = "path:./nix"; publish-org-roam-ui = { url = "git://nullring.xyz/publish-org-roam-ui.git"; @@ -28,7 +30,7 @@ enable = true; name = "website-build"; description = "Ensure website can build, and tests links"; - stages = [ "post-merge" ]; + stages = [ "pre-merge-commit" ]; entry = "${pkgs.writeShellScript "website-check" '' set -e set -o pipefail |
