It would probably be good to fix this upstream, so that it doesn’t pull on i686 libraries on other architectures. I don’t actually know how to do that though, else I’d try to write a fix myself, so I’m writing about how to make it work right now since that’s what I’ve got the energy for.
I think raising this as an issue would be a good first step.
I've stumbled upon this blog post, describing a workaround for ARM machines: https://artemis.sh/2023/12/19/nixgl-aarch64.html
The post's author says:
I think raising this as an issue would be a good first step.