-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure: swift for aarch64 #295322
Comments
Use the same stdenv and clang as part of it as Swift uses. Leverages workaround from NixOS#296082 for the issue NixOS#295322.
#296082 (comment) states that this only fixed the swift build but all downstream packages are still broken. re-opening. |
Actually, it seems only dark-mode-notify is broken, others seem fine. Probably because it uses Cocoa or disables sandbox. I don't know for sure. |
I noticed that my personal package does not build either.
|
swiftc uses cc-wrapper which sets the -march flag on some systems which breaks the build. This change adds a flag, disableMarch, to cc-wrapper which disables using the -march flag. NixOS/nixpkgs#295322
The above open PR seems to run into the same issue… |
Since #291901 was merged into the master, swift cannot be built on aarch64.
Steps To Reproduce
Steps to reproduce the behavior:
Build log
https://hydra.nixos.org/build/252498280
https://hydra.nixos.org/build/252595108
Additional context
reported in #291901 (comment)
I'm not familiar with swift or clang, but I'm using the following overlay as a workaround until it's fixed.
Notify maintainers
@dtzWill @trepetti @dduan @Trundle @stephank
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: