dustinlyons / nixos-config

General purpose Nix configuration for macOS / NixOS with starter templates + step-by-step guides ✨
BSD 3-Clause "New" or "Revised" License
1.52k stars 95 forks source link

swift build is broken upstream? #101

Closed victorhooi closed 2 months ago

victorhooi commented 2 months ago

There seems to be some issue with building swift upstream:

https://github.com/NixOS/nixpkgs/issues/320900

I recently did a nix flake update, and now I can't run nix run ./#build-switch.

I'm surprised nobody else seems to be hitting this, as I thought swift is a dependency for nix-darwin?

victorhooi commented 2 months ago

This was fixed via https://github.com/NixOS/nixpkgs/pull/326588 - did a build-switch from nixpkgs-unstable (default for this repo), and all good.

oleghalin commented 2 months ago

It wasnt fixed by referenced issue. It still fails as you can see in this comment https://github.com/NixOS/nixpkgs/issues/327836#issuecomment-2254676718

And build-switch still stuck at [1/7/33 built, 0.0 MiB DL] building swift-5.8 (buildPhase): clang-15: warning: overriding '-mmacos-version-min=10.15' o