From bd1f7c1574745caddecc08d755fed3c6f6bbc79e Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 5 Mar 2026 00:02:36 -0800 Subject: better hooks --- flake.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index c5d66c0..56f7405 100644 --- a/flake.nix +++ b/flake.nix @@ -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 -- cgit v1.3