haskellPackages: update stackage and hackage#255037
Conversation
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
This commit has been generated by maintainers/scripts/haskell/update-hackage.sh
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
|
This bump includes HLS 2.2 which contains some nice features and bug fixes. Looking forward to merging it! |
|
Triggering eval after it was fixed on master. @ofborg eval |
|
Right now when building It looks like this was previously solved for GHC versions before 9.6 using a custom cabal patch here: #248209 Could patch be added to the GHC 9.6.3 release as well? |
|
@mpscholten There are no patches applied to 9.6.*, I believe a similar problem should also exist for 9.6.2. The patch can probably be ported to 9.6. |
|
@sternenseemann thanks! I've created a PR at #258280 that should add the missing patch. I couldn't fully test it yet as the build takes quite a while, but it seems to not fail right away so far 👍 |
haskellPackages.typerep-map: Fix build
haskellPackages.amazonka: Fix build
| # The curl executable is required for withApplication tests. | ||
| warp_3_3_28 = addTestToolDepend pkgs.curl super.warp_3_3_28; | ||
|
|
||
| # The NCG backend for aarch64 generates invalid jumps in some situations, |
There was a problem hiding this comment.
Thanks for trying to workaround this 👍
I've run this patch and it seems llvm is not bundled with GHC out of the box:
error: builder for '/nix/store/li6pxwch6qd1q64qfqwlqgbnx7lkapfk-tls-1.6.0.drv' failed with exit code 1;
last 10 log lines:
> Make sure you have installed LLVM between [11 and 16)
>
> <no location info>: error: could not execute: opt
> [38 of 64] Compiling Network.TLS.X509 ( Network/TLS/X509.hs, dist/build/Network/TLS/X509.o, dist/build/Network/TLS/X509.dyn_o )
>
> <no location info>: error:
> Warning: Couldn't figure out LLVM version!
> Make sure you have installed LLVM between [11 and 16)
>
> <no location info>: error: could not execute: opt
For full logs, run 'nix log /nix/store/li6pxwch6qd1q64qfqwlqgbnx7lkapfk-tls-1.6.0.drv'.
error: 1 dependencies of derivation '/nix/store/23rf1vax67xwplhri48dwqxw3q8h5w8v-ghc-9.6.3-with-packages.drv' failed to build
error: 1 dependencies of derivation '/nix/store/n6zji35ciqqwsb5fm6g49s8g4lfv02fa-devenv-profile.drv' failed to build
error: 1 dependencies of derivation '/nix/store/jb0z19rsm3fvk4ycc80my1wxdp0zv5k0-devenv-shell-env.drv' failed to build
There was a problem hiding this comment.
Indeed, I'll procure a fix.
When 9.2.1 was [released], I apparently was confused by the wording. The NCG (-fasm) codegen backend for aarch64 not only works on aarch64-darwin, but also aarch64-linux. `useLLVM` being enabled on aarch64-linux had no adverse effect, as GHC used -fasm anyways, but it did inflate closure size unnecessarily which we can rectify now. [released]: https://www.haskell.org/ghc/blog/20211029-ghc-9.2.1-released.html
|
Planning on merging this tonight. |
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on *evaluation [1799996](https://hydra.nixos.org/eval/1799996) of nixpkgs commit [ea0284a](https://github.com/NixOS/nixpkgs/commits/ea0284a3da391822909be5e98a60c1e62572a7dc) as of 2023-10-04 19:24 UTC* from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
This Merge
This PR is the regular merge of the
haskell-updatesbranch intomaster.This branch is being continually built and tested by hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. You may be able to find an up-to-date Hydra build report at cdepillabout/nix-haskell-updates-status.
We roughly aim to merge these
haskell-updatesPRs at least once every two weeks. See the @NixOS/haskell team calendar for who is currently in charge of this branch.haskellPackages Workflow Summary
Our workflow is currently described in
pkgs/development/haskell-modules/HACKING.md.The short version is this:
haskell-updates(normally at the beginning of a merge window).haskell-updatesintomasterevery two weeks.mergeablejob is succeeding on hydra.maintainedpackage is still broken at the time of merge, we will only merge if the maintainer has been pinged 7 days in advance. (If you care about a Haskell package, become a maintainer!)More information about Haskell packages in nixpkgs can be found in the nixpkgs manual.
This is the follow-up to #249708. Come to #haskell:nixos.org if you have any questions.