Skip to content

haskellPackages: update stackage and hackage#331380

Merged
maralorn merged 72 commits intomasterfrom
haskell-updates
Aug 19, 2024
Merged

haskellPackages: update stackage and hackage#331380
maralorn merged 72 commits intomasterfrom
haskell-updates

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

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


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

maralorn added 3 commits July 31, 2024 23:20
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 Jul 31, 2024
github-actions bot and others added 20 commits August 1, 2024 00:16
dunai by default depends on transformers <6.0.0. The list-transformer
flag has to be enabled to build against newer versions of transformers.
The (experimental) cabal-doctest executable was added in 0.22.5, and
isn't yet installed by default.
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
alexfmpe and others added 19 commits August 15, 2024 23:30
haskellPackages.posix-api: jailbreak to unbreak
haskellPackages: remove several old overrides
haskellPackages.avro: drop unnecessary patch
hnix 0.17.0 requires hnix-store-remote < 0.7 at the moment, so we'll
stay with this version until a new hnix version is released.

I noticed that there is something sort of wrong with hnix in nixpkgs. We
have a constraint from Stackage on hnix-store-core (and no other
package) which doesn't match the rest of the hnix packages as we need to
use hnix-store-core == 0.6.*. It may be prudent to check why this
constraint is in Stackage and whether we can downgrade to 0.6.*. It
seems to me that the store 0.8.* packages are not ready yet, i.e. no
support from hnix. hnix-store-core == 0.7.* seems to be a strange
version that hasn't really any other matching packages.
Package version 2.1.5 failed to build and was therefore marked broken.

Package version 2.2 has fixed the twee-lib dependency version
constraint and can build successfully.
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
@sorki
Copy link
Member

sorki commented Aug 19, 2024

@Anton-Latukha @sorki we have a build error with hnix-store on the branch. Can you maybe look into that or advise what the cause and the easiest fix might be? https://hydra.nixos.org/build/269662115/nixlog/1/tail

Looks like @sternenseemann already fixed the issue (I just noticed after removing some restrictions on core). I might still adjust it so the -core and -remote point to latest versions and the additional older ones are used for hnix. I have a WIP PR for hnix but it will take some time to finalize and get a release out (and it seems couple more changes to hnix-store would be nice along with a minor release).

The reason for hnix-store-core 0.7 release was a fix for cachix. Same with 0.8 where NAR serialization is split into hnix-store-nar so it can receive updates independently.

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: 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: 5001+ This PR causes many rebuilds on Darwin and must 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants