this derivation will be built: /nix/store/ykafgsg9dgbddmf3ccjc0ri4vfg478c2-pre-commit-run.drv error: Cannot build '/nix/store/ykafgsg9dgbddmf3ccjc0ri4vfg478c2-pre-commit-run.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/6bsh8b91s6x4rdny37h5mzyrdyc5gbly-pre-commit-run Last 25 log lines: > - files were modified by this hook > > ERRO file has changed path=nix/packages/schema-check/schema-check.sh prev_size=222 prev_mod_time="1970-01-01 00:00:01 +0000 UTC" current_size=220 current_mod_time="2026-11-10 18:15:51 +0000 UTC" > traversed 948 files > emitted 240 files for processing > formatted 240 files (1 changed) in 580ms > Error: unexpected changes detected, --fail-on-change is enabled > > versioning-scheme........................................................Passed > - hook id: versioning-scheme > - duration: 0.01s > diff --git a/nix/packages/schema-check/schema-check.sh b/nix/packages/schema-check/schema-check.sh > index 8696bfb..eec70de 100644 > --- a/nix/packages/schema-check/schema-check.sh > +++ b/nix/packages/schema-check/schema-check.sh > @@ -3,7 +3,7 @@ committed=$2 > dump=$3 > > if ! diff -u "$committed" "$dump"; then > - echo "migrations/schema-$version.sql is out of date, regenerate it with: nix run .#dbmate-tool -- --version $version" >&2 > - exit 1 > + echo "migrations/schema-$version.sql is out of date, regenerate it with: nix run .#dbmate-tool -- --version $version" >&2 > + exit 1 > fi > touch "$out" For full logs, run: nix log /nix/store/ykafgsg9dgbddmf3ccjc0ri4vfg478c2-pre-commit-run.drv