Unable to build MoltenVK in a nix-shell using rust-overlay on macOS

That problem sounds like the one fixed by xcbuild: look in native toolchain when `/usr/bin` is in path by reckenrode · Pull Request #353893 · NixOS/nixpkgs · GitHub. I assume your nixpkgs is newer than that? Can you try adding the shell hook in the following post to your dev shell? It will make sure the nixpkgs xcrun is not on PATH.

1 Like