Nixos 24.05 upgrade no boot device

This is – very likely – caused by a util-linux update. This update also regressed in other ways, so it was reverted, but the revert is currently in staging-next.

I debugged some time on this (partly with @Kloenk):

  • symptom is that the luks device doesn’t show up in /dev/disk/by-uuid anymore (nor in by-partlabel, by-partuuid)
  • explicitly udevadm test-builtin blkid /dev/nvme0n1p2 -a add reports Failed to probe superblocks: Operation not permitted

I haven’t yet opened a upstream issue, but will do soon.