haskellPackages: update stackage and hackage#304640
Merged
sternenseemann merged 41 commits intomasterfrom Apr 27, 2024
Merged
Conversation
When we are building compiler for a platform we can execute ourselves, we can build a proper stage2 compiler which unlocks some features that are interesting for e.g. pkgsStatic. The resulting compiler is technically a native compiler that's prefixed.
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
Member
|
I delayed the Hydra builds again, as I hope that |
Member
Author
|
I guess we can use this time to review #304652 which also requires a set rebuild in haskell-updates! |
Unfortunately, some of these packages block the NixOS/nixpkgs channels so they also need to work on darwin. I'd say for the future we can be liberal in moving packages (that don't block the channel) out of mergeable, but stuff like cachix needs to work everywhere.
pkgs.shellcheck is (indirectly via nix-info-tested) a channel blocker.
Member
Author
13 tasks
This removes (some of) the special casing for git-annex which we need to replicate using overrides. As a first step, we recreate an equivalent set of overrides to the former gitAnnexHook, the only difference being that we use the default installPhase over a custom implementation. A big flaw of the current expression (which was shared by the previous iteration) is that they ignore the testFlags argument. Unfortunately, we can't do that without changing the generic builder implementation.
`make install` also implies install-mans and install-completions.
mkjson: init at 0.4.0
Member
Author
|
jsaddle-dom just requires a very simple patch: ghcjs/jsaddle-dom#23 (comment) |
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
We need to set up EM_CACHE correctly so that it works, of course. Note that the solution relies on the assumption that this should only happen when we cross compile, i.e. the extra logic to account for the cc-less stdenv in pkgsCross.ghcjs is only present in crossCabalFlags. Co-authored-by: sternenseemann <sternenseemann@systemli.org>
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
Member
|
@thielema, I will restart the tests for comfort-glpk, because I assume this is a rare error. I record it here since you might be interested in it (and I don’t have an account on the source repo plattform): |
Member
|
@sternenseemann Thanks for already finding the issue for jsaddle-dom. My packages are good to go. |
Without the change eval fails as:
$ nix build --no-link -f. haskell.packages.ghc98.ghc-lib
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 'ghc-lib_9_8_1_20231121' missing
at pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix:58:26:
57| ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_8_0_2;
58| ghc-lib = doDistribute self.ghc-lib_9_8_1_20231121;
| ^
59| megaparsec = doDistribute self.megaparsec_9_6_1;
Unfortunately the outdated version of optparse-applicative we need to use hasn't survived the ansi-wl-pprint deprecation…
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on *evaluation [1805927](https://hydra.nixos.org/eval/1805927) of nixpkgs commit [cce32cc](https://github.com/NixOS/nixpkgs/commits/cce32cc804ff793aa153aa3ff3caab9deb1b1d09) as of 2024-04-27 08:42 UTC* from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
Should be resolved in the next version released to hackage though!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Merge
This PR is the regular merge of the
haskell-updatesbranch intomaster.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-updatesPRs 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:
haskell-updates(normally at the beginning of a merge window).haskell-updatesintomasterevery two weeks.mergeablejob is succeeding on hydra.maintainedpackage 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 #302932. Come to #haskell:nixos.org if you have any questions.