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.3 (plus other fixes) #82345

Merged
merged 14 commits into from
Mar 13, 2020
Merged

Conversation

peti
Copy link
Member

@peti peti commented Mar 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-03-13 20:00 CET. You can watch this live on Twitch at https://www.twitch.tv/peti343.

TODO

@domenkozar
Copy link
Member

@GrahamcOfBorg build cachix

peti and others added 12 commits March 13, 2020 20:18
Current, the `cabal2nix` derivation contains both the executable, and a wrapper
that adds `nix` and `nix-prefetch-scripts`, which are required for some
features.

However, when calling `callCabal2nix` to create a derivation from a cabal file
at evaluation time,
these features are not actually used, but the huge closure of
`nix-prefetch-scripts` (which includes multiple vcs, as well as python and perl)
still needs to be fetched.

This commit splits cabal2nix into a lightweight version that is a standalone
static binary (`cabal2nix-unwrapped`), and a wrapper that includes the proper
dependencies in the path for full usage of the command line
utility (`cabal2nix`).

This commit also switches to the default ghc, to reduce the likelyhood of
building a different ghc when calling `callCabal2nix`.
The tests fail to compile because of a missing module but would
otherwise be fine.
tests need a running mysql instance, so disable them
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This update was generated by hackage2nix v2.15.0-21-ga388e13 from Hackage revision
commercialhaskell/all-cabal-hashes@a155538.
@peti peti merged commit 2d08e57 into master Mar 13, 2020
@peti
Copy link
Member Author

peti commented Mar 18, 2020

Next week, we'll merge #82849.

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.

7 participants