Open ghishadow opened 5 months ago
I took a look at this recently, and I believe it's going to be tricky. It appears we can no longer bootstrap the compiler with swift-syntax support, and that means our builds lose support for certain Swift syntax constructs like regex literals.
It was announced a while back that the Swift compiler would start requiring a host Swift toolchain to build, and that's what we need to do. It's a similar situation to Rust in Nix. I don't know how difficult it is to set this up; maybe there's a way to use the official binaries.
Short term, we have a better chance of getting 5.9.2 merged, see #256956. I could really use some help figuring out the CMake installation issue. Could very well be the last hurdle, but I haven't been able to find the time.
is there any update on this? I am trying to package swift project and it requires 5.10 and got across into this issue
Is it possible to keep Swift 5.8 around (possibly for Swift Concurrency backdeploy) and use that to bootstrap 5.10?
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/how-to-debug-nix-cache-misses/49151/4
Notify maintainers
@dtzWill @trepetti @dduan @trundle @stephank
Note for maintainers: Please tag this issue in your PR.
Add a :+1: reaction to issues you find important.