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.13 (plus other fixes) #88894

Merged
merged 25 commits into from May 29, 2020
Merged

Conversation

peti
Copy link
Member

@peti peti commented May 25, 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-05-29 20:00 +02:00. 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

  • Update all-cabal-hashes reference.

@peti peti force-pushed the haskell-updates branch 3 times, most recently from c35da69 to 2595f21 Compare May 29, 2020 20:23
peti and others added 5 commits May 29, 2020 22:28
This update was generated by hackage2nix v2.15.3-1-gb7c82db from Hackage revision
commercialhaskell/all-cabal-hashes@5f32599.
Updating to the current HEAD of the Tensorflow-Haskell bindings allows
us to also update the dependencies, specifically proto-lens, and avoid
having to retain their outdated versions.
guid: fix compilation of Setup.hs and disable tests

Add more docs

Remove guid from broken-packages
peti and others added 11 commits May 29, 2020 22:28
The test suite still fails because of all kinds of implicit assumptions that
are wrong in our build environment. For example, the test suite can't just call
"idris" and expect that executable to be in $PATH.
`with-packages-wrapper.nix` has a hack to workaround the linker limit
in MacOS Sierra. However that is now broken with GHC 8.8, because of
slight change in the format of the package config.
In short, the package config produced by GHC 8.8 has a new line between
the key and list of values, while earlier versions have them separated
by a single space.

This PR fixes the linker hack by modifying the `grep` and `sed` commands
to pattern match on either space or new line, so that the hack can work
on all versions of GHC.
@peti peti merged commit a7e42e6 into master May 29, 2020
@peti
Copy link
Member Author

peti commented Jun 4, 2020

Next week, we'll merge #89456.

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