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

Update Haskell package set to LTS 15.9 (plus other fixes) #85926

Merged
merged 17 commits into from Apr 24, 2020
Merged

Conversation

peti
Copy link
Member

@peti peti commented Apr 24, 2020

This PR is test-built by Hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. I'll fix up the remaining errors and merge it on Friday, 2020-04-24 20:00 CET. You can watch this live on Twitch at https://www.twitch.tv/peti343. In addition to the chat features offered by Twitch, there is also a voice conference at https://discord.gg/YTEa3XR that viewers can use to chat with me and with each other.

TODO

@nh2
Copy link
Contributor

nh2 commented Apr 24, 2020

As we expected last week, brittany is broken: #85923

We may want to look into it because the error message there is odd, haven't seen that before:

Setup: Encountered missing or private dependencies:
base <0 && <999

Ported from:

> [haskell-updates c8aa986] ghc883: fix structuredAttrs build
>  Author: Robin Gloster <mail@glob.in>
>  Date: Sat Apr 4 19:21:31 2020 +0200
>  1 file changed, 3 insertions(+), 3 deletions(-)
peti and others added 10 commits April 24, 2020 21:59
webify needs a bump in the cabal file. As the last upstream commit is
two years ago, I think it makes sense to not wait for upstream to merge
the PR [0] and release a new version.

[0] ananthakumaran/webify#27
Build is failing due to too restrictive version constraints which were
the only thing needing fixing.
This update was generated by hackage2nix v2.15.1 from Hackage revision
commercialhaskell/all-cabal-hashes@69af61c.
Yesterday with @infinisil on #nixos, he pointed me to: NixOS/jailbreak-cabal#7 after a good deal of time wrangling through a package to make it work. 
The `nix-build -K` command, is very handy for debugging things like these, again I learnt from infinisil. 
And after much experimenting and looking through, it turned out that jailbreaking wasn't working as expected, and its documentation could point it out to avoid future confusion.
This commit maps:

* GHC 8.6 to apply-refact 0.6
* GHC 8.8 to apply-refact 0.7
* GHC 8.10 to apply-refact 0.8

See:
<https://hackage.haskell.org/package/apply-refact/changelog>
<mpickering/apply-refact#56>
@peti peti force-pushed the haskell-updates branch 2 times, most recently from 50d38e7 to e567a3b Compare April 24, 2020 20:13
@peti peti merged commit 7d30b4d into master Apr 24, 2020
@nh2
Copy link
Contributor

nh2 commented Apr 26, 2020

This did quite well; I can almost advance my static-haskell-nix pin:

https://buildkite.com/nh2/static-haskell-nix/builds/377#a78197af-38a9-4ccc-af3b-5902055f2075

Remaining as failing seem to be mainly

pantry-0.2.0.0
stack-2.1.3.1

as we didn't manage to fully do that yesterday.

@peti
Copy link
Member Author

peti commented Apr 27, 2020

Next week, we'll merge #86116.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet