Updated flake, then tried to switch but doesn't work anymore

Looking in that PR, I see this: quirc: Fix FTBFS on Linux by OPNA2608 · Pull Request #328915 · NixOS/nixpkgs · GitHub

Maybe this is going to fix your issue?