haskellPackages: update stackage and hackage#160015
Merged
sternenseemann merged 37 commits intomasterfrom Feb 16, 2022
Merged
Conversation
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
We'll continue using this version for GHC 9.2.1. 1.5.0 changes behavior in a breaking way, but the API stays the same, making it a risky upgrade. Hopefully dependents will tell us via version constraints what to use in the future.
We could also be using fetchFromGithub but the repo looks stale enough that it doesn't really matter, plus the upper bounds for almost all the dependencies doesn't exist anymore.
hs-mesos doesn't depend on webkit and was misplaced.
haskell-language-server will now default to building a shared
executable, as upstream does, complete with a huge closure. By passing
{ dynamic = false; } via override, it is still possible to build a
"statically linked" variant of HLS, as it used to be.
Note: Before this change HLS would fail to compile on aarch64.
This means we don't use the system linker by default, but decreases closure size significantly, as we no longer reference every supported version GHC.
If we are linking dynamically, it's practically no use removing references, as we depend on GHC either way via linking. I've also elected to keep the references to the data outputs in all cases — they are a bit arcane (there's no easy way to tell they definitely are not necessary) and don't contribute too much to the overall closure size.
haskell-language-server: make linking configureable in wrapper
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
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
Member
Author
|
Note the git commit history is a bit wonky here because I accidentally rebased and merged #158410 instead of creating a merge commit. By the time I noticed it, I had already commited things on top of the branch and pushed, so the new work couldn't be rebased (and force-pushed) anymore due to branch protection. |
utc has been unmaintained for a while now (last commit was 2016). We duct taped it to keep it compiling, but now System.Clock is no longer importable safely. I think it's time to lay it to rest, as it also has some severe bugs causing it to produce incorrect results. It's a bit sad, as I think it would be the better time library. Maybe I'll try to become the hackage maintainer at some point [1]. [1]: lpeterse/haskell-utc#8 (comment)
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
12 tasks
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!)This is the follow-up to #158410. Come to #haskell:nixos.org if you have any questions.