fix(flake): remove stale vendorHash; auto-compute on next build
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6s
Mirror to GitHub / mirror (push) Failing after 3s
Tests / test (push) Successful in 21s

The go.mod changes (goquery downgrade, x/net replace) invalidate the
old vendorHash. Set to empty to auto-recompute, then replace with the
actual hash from the build error.
This commit is contained in:
Franz Kafka 2026-03-22 11:28:31 +00:00
parent b2cca0a346
commit a85d8033c7

View file

@ -21,13 +21,16 @@
version = "0.1.0";
src = ./.;
vendorHash = "sha256-NbAa4QM/TI3BTuZs4glx9k3ZjSl2/2LQfKlQ7izR8Ho=";
vendorHash = ""; # auto-computed; update with actual hash after first build
# Run: nix build .#packages.x86_64-linux.default
# It will fail with the correct hash. Replace it here.
# It will fail with the correct hash. Replace vendorHash with it.
# Embed the templates and static files at build time.
ldflags = [ "-s" "-w" ];
# Remove stale vendor directory when dependencies change.
preBuild = "rm -rf vendor";
nativeCheckInputs = with pkgs; [ ];
# Tests require network; they run in CI instead.