I had a bundix issue while trying to build the blog:

hash mismatch in fixed-output derivation

Brianmay said

Work around is:

BUNDLE_FORCE_RUBY_PLATFORM=true nix run ‘nixpkgs#bundix’ – –lock

I believe these issues are the same (although there are very different symptoms):

In my system:

  • I deleted both Gemfile.lock and gemset.nix
  • started a temporary environment nix-shell -p bundix
  • upgraded Gemfile from jekyll 4.2 to 4.4 because of an unrelated error
  • ran BUNDLE_FORCE_RUBY_PLATFORM=true bundix -- magic