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.1 (plus other fixes) #79819

Merged
merged 52 commits into from Feb 28, 2020
Merged

Conversation

peti
Copy link
Member

@peti peti commented Feb 11, 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-02-29 20:00 CET. You can watch this live on Twitch at https://www.twitch.tv/peti343.

TODO

@peti
Copy link
Member Author

peti commented Feb 14, 2020

I have to postpone the merging session to the weekend. :-( Hydra isn't working properly and we have >1000 (bogus) build errors. I can't merge the branch in that state.

Also, to make matters worse, I have a bad cold and rather go to bed early tonight anyway. I'll tackle this PR again over the weekend.

@cdepillabout cdepillabout mentioned this pull request Feb 17, 2020
10 tasks
@peti peti changed the title Update Haskell package set to LTS 14.25 (plus other fixes) Update Haskell package set to LTS 15.0 (plus other fixes) Feb 18, 2020
@domenkozar
Copy link
Member

Please wait before merging this a couple of days so that I can fix my packages.

@domenkozar
Copy link
Member

@peti seems like the title says LTS-15.0, but this branch is still using LTS-14.x

@domenkozar
Copy link
Member

@GrahamcOfBorg build cachix

@peti peti force-pushed the haskell-updates branch 2 times, most recently from 7b868ef to 518e64c Compare February 28, 2020 19:41
peti and others added 24 commits February 28, 2020 20:42
This update was generated by hackage2nix v2.15.0-19-g1b9b3ef from Hackage revision
commercialhaskell/all-cabal-hashes@f2eea06.
Latest upstream commit is from 2015 [0], so I guess it's the easiest to
jailbreak it (as it builds that way).

[0] https://bitbucket.org/rvlm/hakyll-contrib-hyphenation/src/master/
Upstream ships a messed up tarball that lacks the proper test files.
Unfortunately, we cannot compile git-annex with S3 support in an
LTS-15.x environment, because the 'aws' library hasn't updated to
version 3.x of the 'network' library [1]. I tried whether it's
possible to build git-annex with an older version of network, but
the amount of overrides we'd have to configure to accomplish that
got out of hand quickly. So I disabled aws support [2]. If you
need S3 support in git-annex, please help upstream to update
'aws' so that it builds with recent versions of 'network'.

[1] aristidb/aws#264
[2] NixOS/cabal2nix@1d0459f
The patchs in question fail to apply against the current versoin, and
thus the package fails to build; `hasktags` is then collateral damage.

Remove reference to the patch and make sure neither package will be
marked broken going forward.
If you actually look at the changelog for 1.4.2.1, you'll see that it
mentions that it was only intended for ghc-7.0.4, which is why it has
a dependency on an inconveniently old version of `unix`, which
is *also* hidden behind a flag, so that we can't jailbreak it (per
NixOS/jailbreak-cabal#15).

So the right thing to do would appear to me to be to override our
default version to 1.4.2.0, until such time as the maintainer makes a
newer release.

`ConfigFile` was collateral damage, so unmark it broken, as well as
`MissingH` itself.
This update was generated by hackage2nix v2.15.0-20-g1d0459f from Hackage revision
commercialhaskell/all-cabal-hashes@3ff0be5.
@peti peti merged commit df2176f into master Feb 28, 2020
@jonringer jonringer mentioned this pull request Feb 28, 2020
@peti
Copy link
Member Author

peti commented Mar 2, 2020

Next week we'll merge #81543.

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