NIXOS-68: cannot upgrade NixOS from 32-bit to 64-bit (1)
Symptom: nix-store –register-validity segfaults.
Cause: apparently the Berkeley DB database cannot be shared between 32-bit and 64-bit environments. (Or maybe it’s just the Berkeley DB environment?)
Workaround: mv /nix/var/nix/db /nix/var/nix/db-old
Submitted on 18 January 2008 at 15:27