Skip to content

haskellPackages: update stackage and hackage#312934

Merged
sternenseemann merged 27 commits intomasterfrom
haskell-updates
May 25, 2024
Merged

haskellPackages: update stackage and hackage#312934
sternenseemann merged 27 commits intomasterfrom
haskell-updates

Conversation

@ncfavier
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!)

More information about Haskell packages in nixpkgs can be found in the nixpkgs manual.


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

ncfavier added 2 commits May 19, 2024 18:46
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 May 19, 2024
@ofborg ofborg bot added 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: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. labels May 20, 2024
sternenseemann and others added 5 commits May 20, 2024 14:50
Haddock overrides aren't ported over since the package is marked as
broken anyways.
This commit has been generated by maintainers/scripts/haskell/update-hackage.sh
haskellPackages.sv2v: remove broken flag
sternenseemann and others added 9 commits May 20, 2024 20:30
This only reorders the patches in some cases, as can be seen by
comparing the patch lists using before and after this change:

 ghc902:
+  * /nix/store/648bdlavl7b09llwsvgzxlf3kj8di0mg-1482.patch
   * /nix/store/a6i4qgs42rmfvlclpqb5c4np7p66sbwx-ghc-docs-sphinx-6.0.patch
   * /nix/store/dxnmnf26y1mj6d4rd6r9nglbwlidqxl9-docs-sphinx-7.patch
-  * /nix/store/648bdlavl7b09llwsvgzxlf3kj8di0mg-1482.patch
   * /nix/store/cixlb1974spszv897qklibd6avlwk8ic-ghc-9.0.2-fcompact-unwind.patch
 ghc925:
+  * /nix/store/648bdlavl7b09llwsvgzxlf3kj8di0mg-1482.patch
   * /nix/store/a6i4qgs42rmfvlclpqb5c4np7p66sbwx-ghc-docs-sphinx-6.0.patch
   * /nix/store/dxnmnf26y1mj6d4rd6r9nglbwlidqxl9-docs-sphinx-7.patch
-  * /nix/store/648bdlavl7b09llwsvgzxlf3kj8di0mg-1482.patch
   * /nix/store/vm78w4fi23blaqq2ahl3m5842yri7lik-6c796218c92f93c95e94d5ec2d077f6956f68e98.patch
 ghc926:
+  * /nix/store/648bdlavl7b09llwsvgzxlf3kj8di0mg-1482.patch
   * /nix/store/a6i4qgs42rmfvlclpqb5c4np7p66sbwx-ghc-docs-sphinx-6.0.patch
   * /nix/store/dxnmnf26y1mj6d4rd6r9nglbwlidqxl9-docs-sphinx-7.patch
-  * /nix/store/648bdlavl7b09llwsvgzxlf3kj8di0mg-1482.patch
   * /nix/store/vm78w4fi23blaqq2ahl3m5842yri7lik-6c796218c92f93c95e94d5ec2d077f6956f68e98.patch
 ghc927:
+  * /nix/store/648bdlavl7b09llwsvgzxlf3kj8di0mg-1482.patch
   * /nix/store/a6i4qgs42rmfvlclpqb5c4np7p66sbwx-ghc-docs-sphinx-6.0.patch
   * /nix/store/dxnmnf26y1mj6d4rd6r9nglbwlidqxl9-docs-sphinx-7.patch
-  * /nix/store/648bdlavl7b09llwsvgzxlf3kj8di0mg-1482.patch
   * /nix/store/vm78w4fi23blaqq2ahl3m5842yri7lik-6c796218c92f93c95e94d5ec2d077f6956f68e98.patch
 ghc928:
+  * /nix/store/648bdlavl7b09llwsvgzxlf3kj8di0mg-1482.patch
   * /nix/store/a6i4qgs42rmfvlclpqb5c4np7p66sbwx-ghc-docs-sphinx-6.0.patch
   * /nix/store/dxnmnf26y1mj6d4rd6r9nglbwlidqxl9-docs-sphinx-7.patch
-  * /nix/store/648bdlavl7b09llwsvgzxlf3kj8di0mg-1482.patch
   * /nix/store/vm78w4fi23blaqq2ahl3m5842yri7lik-6c796218c92f93c95e94d5ec2d077f6956f68e98.patch
 ghc945:
-  * /nix/store/vm78w4fi23blaqq2ahl3m5842yri7lik-6c796218c92f93c95e94d5ec2d077f6956f68e98.patch
   * /nix/store/a6i4qgs42rmfvlclpqb5c4np7p66sbwx-ghc-docs-sphinx-6.0.patch
   * /nix/store/dxnmnf26y1mj6d4rd6r9nglbwlidqxl9-docs-sphinx-7.patch
-ghc946:
   * /nix/store/vm78w4fi23blaqq2ahl3m5842yri7lik-6c796218c92f93c95e94d5ec2d077f6956f68e98.patch
+ghc946:
   * /nix/store/dxnmnf26y1mj6d4rd6r9nglbwlidqxl9-docs-sphinx-7.patch
+  * /nix/store/vm78w4fi23blaqq2ahl3m5842yri7lik-6c796218c92f93c95e94d5ec2d077f6956f68e98.patch
   * /nix/store/grgg5qjcwj5n8dyp50z4gwfd9vig09px-9.4.6-bytestring-posix-source.patch
 ghc947:
-  * /nix/store/vm78w4fi23blaqq2ahl3m5842yri7lik-6c796218c92f93c95e94d5ec2d077f6956f68e98.patch
   * /nix/store/dxnmnf26y1mj6d4rd6r9nglbwlidqxl9-docs-sphinx-7.patch
-ghc948:
   * /nix/store/vm78w4fi23blaqq2ahl3m5842yri7lik-6c796218c92f93c95e94d5ec2d077f6956f68e98.patch
+ghc948:
   * /nix/store/dxnmnf26y1mj6d4rd6r9nglbwlidqxl9-docs-sphinx-7.patch
+  * /nix/store/vm78w4fi23blaqq2ahl3m5842yri7lik-6c796218c92f93c95e94d5ec2d077f6956f68e98.patch
Conditional whitespace was only necessary to prevent rebuilds. We can
now revert this since it doesn't make a functional difference.
Without the change the eval fails as:

    $ nix build --no-link -f. haskell.packages.ghc865Binary.exceptions
    error: attribute 'exceptions_0_10_7' missing
           at pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix:98:16:
               97|   # This became a core library in ghc 8.10., so we don’t have an "exception" attribute anymore.
               98|   exceptions = self.exceptions_0_10_7;
                 |                ^
               99|
           Did you mean exceptions_0_10_8?
Without the change the eval fails as:

    $ nix build --no-link -f. haskell.packages.ghcjs.exceptions
    error:
           … in the left operand of the update (//) operator
             at pkgs/development/haskell-modules/lib/compose.nix:40:7:
               39|     mkDerivation = drv: (args.mkDerivation drv).override f;
               40|   })) // {
                 |       ^
               41|     overrideScope = scope: overrideCabal f (drv.overrideScope scope);

           error: attribute 'exceptions_0_10_7' missing
           at pkgs/development/haskell-modules/configuration-ghcjs.nix:30:26:
               29|   stm = doJailbreak self.stm_2_5_3_1;
               30|   exceptions = dontCheck self.exceptions_0_10_7;
                 |                          ^
               31|
           Did you mean exceptions_0_10_8?
…xceptions-fix-eval

haskell.packages.ghc865Binary.exceptions: fix eval
…ns-fix-eval

haskell.packages.ghcjs.exceptions: fix eval
@sternenseemann sternenseemann added the 9.needs: port to stable A PR needs a backport to the stable release. label May 23, 2024
blitz and others added 4 commits May 23, 2024 11:47
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
Fix haskellPackages.{chs-cabal,libarchive,archive-libarchive}
@sternenseemann
Copy link
Member

GHC failures are due to an unrelated problem that should be fixed in staging. #311988

haskell-updates build report from hydra

evaluation 1806530 of nixpkgs commit edc6c26 as of 2024-05-25 11:49 UTC

🟡 Potential issues (and possibly evaluation errors)

  • maintained jobset failed.

Build summary

Platform Failed ❌ DependencyFailed ❗ TimedOut ⌛🚫 HydraFailure 🚧 Success ✅
aarch64-darwin 🍏 75 47 5 6271
aarch64-linux 📱 12 7 2 1 6439
x86_64-darwin 🍎 68 44 6 6284
x86_64-linux 🐧 6 18 2 6485

Maintained Linux packages with failed dependency

Maintained Darwin packages with build failure

5 job(s)

Maintained Darwin packages with failed dependency

113 job(s)

Unmaintained packages with build failure

103 job(s)

Unmaintained packages with failed dependency

151 job(s)

Top 50 broken packages, sorted by number of reverse dependencies

50 job(s)

gogol-core ⤴️ 184
haskell98 ⤴️ 152
failure ⤴️ 72
connection ⤴️ 56
enumerator ⤴️ 56
util ⤴️ 49
derive ⤴️ 48
system-fileio ⤴️ 45
web-routes ⤴️ 43
accelerate ⤴️ 42
syb-with-class ⤴️ 42
MonadCatchIO-transformers ⤴️ 41
TypeCompose ⤴️ 41
singletons-base ⤴️ 41
crypto-random ⤴️ 37
PrimitiveArray ⤴️ 35
rank1dynamic ⤴️ 33
dual ⤴️ 32
hsp ⤴️ 32
distributed-static ⤴️ 31
language-ecmascript ⤴️ 31
distributed-process ⤴️ 30
iteratee ⤴️ 29
composite-base ⤴️ 28
polysemy-time ⤴️ 28
polysemy-resume ⤴️ 27
polysemy-conc ⤴️ 26
regexpr ⤴️ 26
crypto-numbers ⤴️ 25
either-unwrap ⤴️ 25
HList ⤴️ 24
polysemy-log ⤴️ 24
web-routes-th ⤴️ 24
Crypto ⤴️ 22
crypto-pubkey ⤴️ 22
haskelldb ⤴️ 22
wxdirect ⤴️ 22
BiobaseTypes ⤴️ 21
alg ⤴️ 21
mmsyn2 ⤴️ 21
userid ⤴️ 21
wxc ⤴️ 21
biocore ⤴️ 20
reform ⤴️ 20
wxcore ⤴️ 20
attoparsec-enumerator ⤴️ 19
bytestring-show ⤴️ 19
cprng-aes ⤴️ 19
fay ⤴️ 19
harp ⤴️ 19

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

This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1806530](https://hydra.nixos.org/eval/1806530) of nixpkgs commit [edc6c26](https://github.com/NixOS/nixpkgs/commits/edc6c261ab4ffb277af409e37a52718a91b255bc) as of 2024-05-25 11:49 UTC*
from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
@sternenseemann sternenseemann merged commit a44d2a4 into master May 25, 2024
@sternenseemann sternenseemann added 8.has: port to stable This PR already has a backport to the stable release. and removed 9.needs: port to stable A PR needs a backport to the stable release. labels May 25, 2024
@sternenseemann
Copy link
Member

Backport: #314679.

@ofborg ofborg bot added the 8.has: clean-up This PR removes packages or removes other cruft label May 25, 2024
@sternenseemann sternenseemann linked an issue May 26, 2024 that may be closed by this pull request
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: package (new) This PR adds a new package 8.has: port to stable This PR already has a backport to the stable release. 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: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

Comments