-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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 #304640
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
I delayed the Hydra builds again, as I hope that |
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.
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
jsaddle-dom just requires a very simple patch: ghcjs/jsaddle-dom#23 (comment) |
Co-authored-by: sternenseemann <[email protected]>
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 <[email protected]>
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
@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):
|
@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 Merge
This PR is the regular merge of the
haskell-updates
branch 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-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:
haskell-updates
(normally at the beginning of a merge window).haskell-updates
intomaster
every two weeks.mergeable
job is succeeding on hydra.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 #302932. Come to #haskell:nixos.org if you have any questions.