katzenpost/katzen

nix build fails

Closed this issue · 1 comments

warning: Ignoring setting 'auto-allocate-uids' because experimental feature 'auto-allocate-uids' is not enabled
building '/nix/store/ipj7py5vmwvw6chb75bs75zpa86vngqz-katzen-unstable-20231007183416-go-modules.drv'...
error: hash mismatch in fixed-output derivation '/nix/store/ipj7py5vmwvw6chb75bs75zpa86vngqz-katzen-unstable-20231007183416-go-modules.drv':
specified: sha256-LsaCb2NLc8bVLlRk+JQr0ZAaEqsIdH/GLO1wvaVyKrY=
got: sha256-ECHhPuHz4zDTROSZpu1WNELiWWEuinzriGVbgH+566I=
error: 1 dependencies of derivation '/nix/store/akcs67dkbycrnhxn9ckrzp43fypjxvfq-katzen-unstable-20231007183416-env.drv' failed to build

tldr: after upgrading dependencies (and go.mod changes), run the nix build using "make docker-build-nix" and observe the error above to extract the new vendorHash which goes in katzen.nix