Clang can't be used to cross-build packages. · Issue #40934 · NixOS/nixpkgs · GitHub i just now fixed.
I would like the pkgs/build-support/alternatives
from Add BLAS/LAPACK switching mechanism by matthewbauer · Pull Request #83888 · NixOS/nixpkgs · GitHub to handle the LLVM version.