Skip to content

haskellPackages: update stackage and hackage#255037

Merged
maralorn merged 60 commits intomasterfrom
haskell-updates
Oct 4, 2023
Merged

haskellPackages: update stackage and hackage#255037
maralorn merged 60 commits intomasterfrom
haskell-updates

Conversation

@cdepillabout
Copy link
Copy Markdown
Member

This Merge

This PR is the regular merge of the haskell-updates branch into master.

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-updates PRs 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:

  • We regularly update the Stackage and Hackage pins on haskell-updates (normally at the beginning of a merge window).
  • The community fixes builds of Haskell packages on that branch.
  • We aim at at least one merge of haskell-updates into master every two weeks.
  • We only do the merge if the mergeable job is succeeding on hydra.
  • If a maintained package 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.

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
@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Sep 14, 2023
@maralorn
Copy link
Copy Markdown
Member

This bump includes HLS 2.2 which contains some nice features and bug fixes. Looking forward to merging it!

@raehik raehik mentioned this pull request Sep 14, 2023
12 tasks
@ofborg ofborg bot added 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Sep 14, 2023
@cdepillabout
Copy link
Copy Markdown
Member Author

cdepillabout commented Sep 16, 2023

haskell-updates build report from hydra

evaluation 1799307 of nixpkgs commit 7386d0a as of 2023-09-16 16:18 UTC

🔴 Branch not mergeable

  • Too many outstanding jobs on aarch64-linux.
  • maintained jobset failed.
  • mergeable jobset is not finished.

Build summary

Platform Failed ❌ DependencyFailed ❗ TimedOut ⌛🚫 Unfinished ⏳ Success ✔️
aarch64-darwin 🍏 89 64 7 1 6597
aarch64-linux 📱 1 4345 2493
x86_64-darwin 🍎 81 56 7 1 6626
x86_64-linux 🐧 28 26 11 2 6805

Maintained Linux packages with build failure

Maintained Linux packages with failed dependency

Maintained Darwin packages with build failure

10 job(s)

Maintained Darwin packages with failed dependency

42 job(s)

Unmaintained packages with build failure

104 job(s)

Unmaintained packages with failed dependency

102 job(s)

Top 50 broken packages, sorted by number of reverse dependencies

50 job(s)

gogol-core ⤴️ 184
haskell98 ⤴️ 153
heist ⤴️ 72
snap ⤴️ 63
enumerator ⤴️ 56
util ⤴️ 49
derive ⤴️ 48
amazonka ⤴️ 47
repa ⤴️ 45
accelerate ⤴️ 42
syb-with-class ⤴️ 42
TypeCompose ⤴️ 38
PrimitiveArray ⤴️ 35
rank1dynamic ⤴️ 33
distributed-static ⤴️ 31
distributed-process ⤴️ 30
iteratee ⤴️ 29
crypto-numbers ⤴️ 25
either-unwrap ⤴️ 25
HList ⤴️ 24
crypto-pubkey ⤴️ 22
haskelldb ⤴️ 22
wxdirect ⤴️ 22
BiobaseTypes ⤴️ 21
alg ⤴️ 21
mmsyn2 ⤴️ 21
userid ⤴️ 21
wxc ⤴️ 21
biocore ⤴️ 20
cheapskate ⤴️ 20
wxcore ⤴️ 20
attoparsec-enumerator ⤴️ 19
bytestring-show ⤴️ 19
fay ⤴️ 19
ixset ⤴️ 19
wx ⤴️ 19
BiobaseENA ⤴️ 18
asn1-data ⤴️ 18
dbus-core ⤴️ 18
gtksourceview2 ⤴️ 18
polysemy-process ⤴️ 18
typerep-map ⤴️ 18
ukrainian-phonetics-basic ⤴️ 18
BiobaseXNA ⤴️ 17
HGamer3D-Data ⤴️ 17
certificate ⤴️ 17
clash-prelude ⤴️ 17
dbus-client ⤴️ 17
gconf ⤴️ 17
gtk-serialized-event ⤴️ 17

⤴️: The number of packages that depend (directly or indirectly) on this package (if any). If two numbers are shown the first (lower) number considers only packages which currently have enabled hydra jobs, i.e. are not marked broken. The second (higher) number considers all packages.

Report generated with maintainers/scripts/haskell/hydra-report.hs

@mweinelt
Copy link
Copy Markdown
Member

Triggering eval after it was fixed on master.

@ofborg eval

@mpscholten
Copy link
Copy Markdown
Contributor

Right now when building ormolu with GHC 9.6.3 on M1 darwin I get this error:

error: cycle detected in build of '/nix/store/096ymc2jnlagp1sg1ha8xnrxxb93dkm7-ormolu-0.7.2.0.drv' in the references of output 'bin' from output 'out'

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?

@sternenseemann
Copy link
Copy Markdown
Member

@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.

@mpscholten
Copy link
Copy Markdown
Contributor

@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 👍

# 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,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, I'll procure a fix.

github-actions bot and others added 3 commits October 3, 2023 00:12
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
@maralorn
Copy link
Copy Markdown
Member

maralorn commented Oct 4, 2023

Planning on merging this tonight.

@ofborg ofborg bot requested review from expipiplus1 and guibou October 4, 2023 19:19
@ofborg ofborg bot added the 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 8.has: clean-up This PR removes packages or removes other cruft 8.has: documentation This PR adds or changes documentation 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants