setup
checks.x86_64-linux.pre-commit
· build #649
· raw
1this derivation will be built:2 /nix/store/ykafgsg9dgbddmf3ccjc0ri4vfg478c2-pre-commit-run.drv3error: Cannot build '/nix/store/ykafgsg9dgbddmf3ccjc0ri4vfg478c2-pre-commit-run.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/6bsh8b91s6x4rdny37h5mzyrdyc5gbly-pre-commit-run7 Last 25 log lines:8 > - files were modified by this hook9 >10 > 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"11 > traversed 948 files12 > emitted 240 files for processing13 > formatted 240 files (1 changed) in 580ms14 > Error: unexpected changes detected, --fail-on-change is enabled15 >16 > versioning-scheme........................................................Passed17 > - hook id: versioning-scheme18 > - duration: 0.01s19 > diff --git a/nix/packages/schema-check/schema-check.sh b/nix/packages/schema-check/schema-check.sh20 > index 8696bfb..eec70de 10064421 > --- a/nix/packages/schema-check/schema-check.sh22 > +++ b/nix/packages/schema-check/schema-check.sh23 > @@ -3,7 +3,7 @@ committed=$224 > dump=$325 > 26 > if ! diff -u "$committed" "$dump"; then27 > - echo "migrations/schema-$version.sql is out of date, regenerate it with: nix run .#dbmate-tool -- --version $version" >&228 > - exit 129 > + echo "migrations/schema-$version.sql is out of date, regenerate it with: nix run .#dbmate-tool -- --version $version" >&230 > + exit 131 > fi32 > touch "$out"33 For full logs, run:34 nix log /nix/store/ykafgsg9dgbddmf3ccjc0ri4vfg478c2-pre-commit-run.drv