ghcWithPackages: set withLLVM if hostPlatform is not x86_64#121494
ghcWithPackages: set withLLVM if hostPlatform is not x86_64#121494maralorn merged 1 commit intoNixOS:haskell-updatesfrom
Conversation
|
@ofborg build tests.haskell.shellFor |
|
@ofborg build nixosTests.agda |
|
Resolves #111738 as well. |
|
This looks good to me (although I don't have much experience with aarch64) |
|
Is there anything that could break from this? What about darwin do we need LLVM there? |
I don't think so, this only puts LLVM programs in
|
We also don't add LLVM on PowerPC as GHC should have the ability to generate native code for that platform itself. Resolves NixOS#116235.
1c87144 to
9a2e728
Compare
Resolves #116235.
This change fixes
tests.haskell.shellForonaarch64which convinces me that this is a good change to make.For GHC 9.2 we'll may have to adjust this again though.
Motivation for this change
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)