summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------.pre-commit-config.yaml2
-rw-r--r--flake.nix6
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
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