Skip to content
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

haskellPackages: update stackage and hackage #175328

Merged
merged 38 commits into from
Jun 4, 2022
Merged

Conversation

maralorn
Copy link
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!)

This is the follow-up to #173800. Come to #haskell:nixos.org if you have any questions.

sternenseemann and others added 4 commits May 28, 2022 21:11
https://www.haskell.org/ghc/download_ghc_9_2_3.html

Since the tarball is generated by Hadrian, neither autoreconf nor ./boot
is executed so ./configure and ghc.mk is missing.
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
haskell.compiler: ghc922 -> ghc923
trofi and others added 4 commits May 29, 2022 20:02
Otherwise attempt to build ghcHEAD from local checkout fails as:

    $ nix build -L --impure --expr 'with import ~/nm {}; haskell.compiler.ghcHEAD.overrideAttrs (oa: { src = ./.; patches = []; nativeBuildInputs = oa.nativeBuildInputs ++ [ git ]; })' --keep-failed
    ...
    ghc> checking C++ standard library flavour... ./configure: line 11487: /nix/store/r7r10qvsqlnvbzjkjinvscjlahqbxifl-gcc-wrapper-11.3.0/bin/cxx: No such file or directory

I think 'cxx' is not provided by stdenv.
ghc: use CXX=c++, not CXX=cxx
@sternenseemann
Copy link
Member

sternenseemann commented May 31, 2022

haskell-updates build report from hydra

evaluation 1764518 of nixpkgs commit 5250c9b as of 2022-05-31 08:55 UTC

🔴 Branch not mergeable

  • mergeable jobset failed.
  • maintained jobset failed.

Build summary

Platform Failed ❌ DependencyFailed ❗ TimedOut ⌛🚫 Unfinished ⏳ Success ✔️
aarch64-linux 📱 36 57 10 6206
x86_64-darwin 🍎 68 40 4 6136
x86_64-linux 🐧 13 37 4 1 6286

Maintained packages with build failure

Maintained packages with failed dependency

Unmaintained packages with build failure

90 job(s)

Unmaintained packages with failed dependency

65 job(s)

Top 50 broken packages, sorted by number of reverse dependencies

50 job(s)

amazonka-core ⤴️ 185
gogol-core ⤴️ 184
haskell98 ⤴️ 153
enumerator ⤴️ 56
util ⤴️ 49
derive ⤴️ 48
amazonka ⤴️ 43
accelerate ⤴️ 42
parseargs ⤴️ 42
syb-with-class ⤴️ 42
MonadCatchIO-transformers ⤴️ 41
autodocodec ⤴️ 33
data-lens ⤴️ 33
rank1dynamic ⤴️ 33
distributed-static ⤴️ 31
language-ecmascript ⤴️ 31
distributed-process ⤴️ 30
ip ⤴️ 29
iteratee ⤴️ 29
jmacro ⤴️ 29
validity-aeson ⤴️ 29
text-format ⤴️ 28
autodocodec-schema ⤴️ 27
mmsyn3 ⤴️ 27
autodocodec-yaml ⤴️ 26
crypto-numbers ⤴️ 26
either-unwrap ⤴️ 25
web-routes-th ⤴️ 24
crypto-pubkey ⤴️ 23
ixset-typed ⤴️ 23
sydtest ⤴️ 23
haskelldb ⤴️ 22
wxdirect ⤴️ 22
alg ⤴️ 21
amazonka-s3 ⤴️ 21
mmsyn2 ⤴️ 21
userid ⤴️ 21
wxc ⤴️ 21
biocore ⤴️ 20
subG ⤴️ 20
wxcore ⤴️ 20
attoparsec-enumerator ⤴️ 19
bytestring-show ⤴️ 19
fay ⤴️ 19
harp ⤴️ 19
hsx2hs ⤴️ 19
ixset ⤴️ 19
wx ⤴️ 19
asn1-data ⤴️ 18
dbus-core ⤴️ 18

⤴️: 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

sternenseemann and others added 21 commits May 31, 2022 12:33
weeder 2.4.0 /requires/ GHC 9.2.
glirc 2.39 does not compile against any set of released packages and is
unlikely to be fixed without a subsequent release
(glguy/irc-core#99).
witherable bounds have been relaxed by upstream via a Hackage revision,
so we no longer need to apply that part of the patch.
After a dependency got unbroken recently, only a patch for LTS 18 which
is now part of the release needed cleaning up and aeson 1.5.* and
corresponding bower-json version to be provided.
Although purescript-{cst,ast} don't depend on purescript, it's important
that they use the same dependencies as the latter, so packages that
depend on more than one of them at the same time work, like e.g.
purenix (which is broken at the moment because it doesn't support
purescript 0.15).
Clean up override for broken & deprecated pandoc-citeproc.
Not sure what exactly caused it, but we don't need to overrideScope
anymore since hspec_2_10_0 works as is. Since it's usually a test
dependency only we don't really risk inconsistent dependency errors if
we are diligent.
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh

Note: bloodhound and pcre2 fail at the moment, but they should be fixed
by the next Stackage / Hackage bump, so I am trying to save myself some
hassle by leaving them marked incorrectly for a bit.
To make this logic less cluttered, implement the broken/dontDistribute
logic in a single function that can be reused for all purescript-related
packages.
sternenseemann and others added 4 commits June 3, 2022 15:45
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
These packages haven't been working for a while since they rely on
deprecated / outdated libs and also no longer work with the Haskell gtk
package we ship. Marking them as broken ensures that their reverse
dependencies won't be attempted to build which declutters our build
reports.
@sternenseemann sternenseemann merged commit 71c0ae1 into master Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants