summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-05 00:02:36 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-03-05 00:02:36 -0800
commitbd1f7c1574745caddecc08d755fed3c6f6bbc79e (patch)
treed44dd54471a3cd5f4773599dc7eacfbf803dbca0 /flake.nix
parentdfc908d06d5f0de271c6e48b0d32370ca66a9346 (diff)
better hooks
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix6
1 files changed, 4 insertions, 2 deletions
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