haskellPackages: update stackage and hackage#126693
Merged
Conversation
Every flag the generic builder receives via `testFlags` is passed via `--test-option` [1] to `Setup.hs` which in turn passes them to the underlying test suite binary. These wrapped options are added to `checkFlagsArray` in `checkPhase`. This needs to be done in bash since without structuredAttrs in nixpkgs so far, Nix arrays aren't properly translated into bash arrays, so we'd have all sorts of quoting issues when spaces are involved. Re-using `checkFlags` and `checkFlagsArray` from standard stdenv setup.sh also results in an additional feature: Using `overrideAttrs` `checkFlags` and `checkFlagsArray` can additionally be overridden, which allows passing extra flags to `Setup.hs` whithout being wrapped with `--test-option`. [1]: See also https://cabal.readthedocs.io/en/3.4/setup-commands.html?highlight=test-option#cmdoption-runhaskell-Setup.hs-test-test-option According to the cabal-install man page this also allows passing special variables which are substituted for other values depending on context.
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 has updated profunctors to 5.6.2, so the override is unnecessary.
…rch64" This reverts commit 38c4256. The attempt failed, gtk2hs-buildtools still fails with the same linker error.
haskell-generic-builder: allow passing flags to the test suite(s)
Member
Author
Contributor
|
upstream issue for hnix: haskell-nix/hnix#952 |
hnix 0.13.* doesn't support hnix-store-* >= 0.5 yet, pending some refactors to get GHC 9.0.x support working. Until that happens, we downgrade hnix-store-* since nothing needs the new version yet. haskell-nix/hnix#952
Member
|
Potential fix for hnix: #126840; should unbreak all remaining maintained packages as far as I can see |
haskellPackages.hnix-store-{core,remote}: downgrade to < 0.5
stackage has updated to dhall 1.39, so we can update these as well: haskellPackages.dhall-openapi: 1.0.0 -> 1.0.1 haskellPackages.dhall-nix: 1.1.20 -> 1.1.21
Workaround for #82245 Although this doesn't tackle the root cause of a null package sneaking in (via executableHaskellDepends), it does effectively treat the symptom by just ignoring any null packages. Seeing as that issue has been open for more than a year I think this band-aid is necessary.
haskellPackages.shellFor: Work around hoogle generation failure
Also add to haskellPackages
As pointed out here [1], errata has started working on its own again. [1]: someodd/burrow#27 (comment)
Compiles with random 1.2.0, but bound is too strict at <1.2. Co-authored-by: sterni <sternenseemann@systemli.org>
haskellPackages: update documentation about Darwin builds
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
This was referenced Jun 19, 2021
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.
I will aim to merge this PR by 2021-06-27. If I can merge it earlier, there might be successor PRs in that time window. As part of our rotation @cdepillabout will continue these merges from 2021-06-28 to 2021-07-11.
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!)This is the follow-up to #125977.