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: Stackage LTS 22 -> 23; ghc: 9.6.6 -> 9.8.4 #371032

Draft
wants to merge 93 commits into
base: staging
Choose a base branch
from

Conversation

sternenseemann
Copy link
Member

@sternenseemann sternenseemann commented Jan 5, 2025

This Merge

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

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 staging 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 #369373. Come to #haskell:nixos.org if you have any questions.

@github-actions github-actions bot added 6.topic: haskell 8.has: documentation This PR adds or changes documentation labels Jan 5, 2025
@sternenseemann sternenseemann changed the base branch from master to staging January 5, 2025 01:30
github-actions bot and others added 15 commits January 6, 2025 00:15
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
Stackage LTS 23 ships 3.6 as the default version. Note that adding this
attribute probably was not a great idea since it was never going to stay
around consistently.

Rather than repeating this situation, we should implement
#190542 for pandoc, ideally
getting help from e.g. the quarto maintainers. Ideally pkgs.pandoc would
be the latest pandoc.

WARNING: Build is completely untested, this change is mostly guesswork
so that pkgs.pandoc evals again to a point where we can generate the
package map for hackage2nix.
These overrides are obsolete since Stackage LTS ships these versions by
default. We need to urgently remove these overrides since they are
involved in packages that are exposed from `pkgs`, preventing us from
generating the package map for hackage2nix.
This was an oversight when first adding GHC 9.8.1 which went unnoticed
because the package set contained semaphore-compat thanks to GHC 9.6 not
having it. Also, semaphore-compat is probably reinstallable.
This matches the update from Stackage LTS 22 -> 23 in 7ea7574c.

Regenerate the package set with compiler: ghc-9.8.3 passed to Cabal
using

  env \
    HACKAGE2NIX=/nix/store/57ivr7wj0bzgkgvgp6i1dsz5rbihy2an-cabal2nix-unstable-2024-12-31/bin/hackage2nix \
   bash ./maintainers/scripts/haskell/regenerate-hackage-packages.sh --fast

since cabal2nix-unstable doesn't build yet (I assume).
Upstream has addressed the issue we've been trying to work
around (darwin support). The upstream change is different and (iirc)
more correct. We'll have to wait and see if any new issues crop up.
This approach no longer works as the latest version of postgresql-libpq
discovers its dependencies via conditionally included dependencies. This
mechanism doesn't work in nixpkgs at the moment, so we'll have to look
into that.

For now, we can remove the shuffling of dependencies which now causes an
evaluation error since librarySystemDepends is unset.
- Upstream has decided that gi-g*k == 4.* should be replaced by dedicated
  gi-g*k4 packages. The latest versions of gi-adwaita and gi-gsk use these
  already.

- gi-gtk == 4.0.12 and gi-gdk == 4.0.10 are compat packages
  forwarding (?) to the corresponding gi-g*k4 package. The gi_g*k_4
  alias is retained for now, but should be removed eventually.

WARNING: Builds are totally untested. Especiall gi-g*k may not work
correctly.
@github-actions github-actions bot added 6.topic: python 6.topic: kernel The Linux kernel 8.has: module (update) This PR changes an existing module in `nixos/` 6.topic: rust 6.topic: ocaml 6.topic: nodejs 6.topic: testing Tooling for automated testing of packages and modules 6.topic: docker tools 6.topic: agda "A dependently typed programming language / interactive theorem prover" 6.topic: java Including JDK, tooling, other languages, other VMs 6.topic: php 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related labels Jan 22, 2025
@github-actions github-actions bot removed 6.topic: python 6.topic: kernel The Linux kernel 8.has: module (update) This PR changes an existing module in `nixos/` 6.topic: rust 6.topic: ocaml 6.topic: nodejs 6.topic: testing Tooling for automated testing of packages and modules 6.topic: docker tools 6.topic: agda "A dependently typed programming language / interactive theorem prover" 6.topic: java Including JDK, tooling, other languages, other VMs 6.topic: php 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: haskell 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 5001+ 10.rebuild-linux: 5001+
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build failure in Haskell libraries using -fplugin flag