diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-03-05 16:55:17 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-03-05 16:55:17 -0800 |
| commit | a6df8b0ff609fb56409934fee4b11e55a0da88c9 (patch) | |
| tree | 8102a0acd98f1815ee25649e2dc38552daee9fb1 /config/nix.org | |
| parent | 0ea853e905c151e349dc148537c7e3930e336bec (diff) | |
| parent | 8d517f02482615136f12507fd2c76d73743dd616 (diff) | |
Merge branch 'chore/fix-hooks'
Diffstat (limited to 'config/nix.org')
| -rw-r--r-- | config/nix.org | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/nix.org b/config/nix.org index 71f7d36..996d35c 100644 --- a/config/nix.org +++ b/config/nix.org @@ -189,7 +189,7 @@ and now for the main flake: enable = true; name = "${hostname}-vm-build"; description = "Ensure ${hostname} can build"; - stages = [ "post-merge" ]; + stages = [ "pre-merge-commit" ]; entry = "${pkgs.writeShellScript "${hostname}-check" '' #!/usr/bin/env bash set -e @@ -339,7 +339,10 @@ and now for the main flake: statix deadnix ]; - inherit (pre-commit-check) shellHook; + shellHook = '' + ${pre-commit-check.shellHook} + git config branch.main.mergeoptions "--no-ff" + ''; }; packages."${system}" = { |
