-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
haskell-language-server doesn't build on aarch64-darwin #140180
Comments
It also doesn't build for nixos 21.05: https://hydra.nixos.org/build/154147571 |
That’s an unrelated issue. That probably was a hardware/environment problem. I have restarted that build job in the hopes that it succeeds on the next run. |
Hey @hexagonal-sun, thx for the report. That build error looks quite weird and baffles me. Sadly I don‘t have a system for testing or the time to support aarch64-darwin. Of course we will gladly accept any PRs fixing this and I can try to give input/feedback into attempts to debug this. |
I had exactly the same error when hasskell-ide-ingine was building locally after nixpkgs update, so it seems indeed broken. |
Oh, okay. I can reproduce. Thank’s for the report. Will fix this asap. |
Will be fixed by #140518. Now back to the original topic. Sorry for the noise. |
While GHC now can be bootstrapped and built on aarch64-darwin, it seems to work only to an extent. All sorts of strange issues have manifested themselves in `haskellPackages` and downstream usage which leads me to conclude that it would be misleading to call it supported on this platform, especially in a stable channel. To give a few examples, separate bin outputs just don't work in general [1] and `opt` fails for unknown reasons in some derivations [2]. As I don't own any appropriate hardware, I have tried tackling these issues by staring into my crystal ball, but so far to no avail (even worse, new issues [3] have cropped up due to changes that should have been an improvement). Given these circumstances, I'm not willing to call GHC supported on aarch64-darwin for the stable channel. I'm (for now) hopeful that we can improve the situation on `master` going forward, but it is not guaranteed that these changes will be backportable without a ton of effort. Should it turn out that we can't resolve these issues or maintain GHC's aarch64-darwin support due to a lack of contributors going forward, I am also prepared to drop aarch64-darwin support completely. While it has been proclaimed a Tier 3 platform, I would argue that the “popular” package GHC has never been working, at least not properly. [1]: NixOS#140774 NixOS#140180 [2]: https://matrix.to/#/!RbXGJhHMsnQcNIDFWN:nixos.org/$C6FK74EajqSTk58JzriYpQJ9f6x3UH3tIREcn04Y-rM?via=nixos.org&via=matrix.org&via=tchncs.de [3]: srid/haskell-template#1 (comment)
Closing in favor of #140774. |
Describe the bug
the
haskellPackages.haskell-language-server
package doesn't seem to build foraarch64-darwin
.Here's the job log on Hydra: https://hydra.nixos.org/build/155006253/nixlog/1. It looks as though the issue is to do with the ormolu package?
Steps To Reproduce
nix-env -iA nixpkgs.haskellPackages.haskell-language-server
.Expected behavior
HLS builds.
Additional context
Add any other context about the problem here.
Notify maintainers
@maralorn
Metadata
"aarch64-darwin"
Darwin 20.6.0, macOS 11.5.2
yes
no
nix-env (Nix) 2.3.14
"home-manager, nixpkgs-21.11pre304425.2030abed586"
"home-manager, nixpkgs-21.11pre317548.e0ce3c683ae"
/nix/var/nix/profiles/per-user/root/channels/nixpkgs
The text was updated successfully, but these errors were encountered: