Raspberry Pi: First `rebuild switch` hangs on `gcc ... ruby`

I guess those two are just two names for the same image? I thought they may be different since the latter has an extra -aarch64 in the name, but the downloaded images seem to have the same naming scheme (just a different build number).

Tried both of these with no dice, also hangs on nixos-rebuild switch (or test).