Skip to content

haskell: ghc710 packages cleanup #23250

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

Merged
merged 4 commits into from
Feb 27, 2017
Merged

haskell: ghc710 packages cleanup #23250

merged 4 commits into from
Feb 27, 2017

Conversation

ljli
Copy link
Contributor

@ljli ljli commented Feb 27, 2017

Motivation for this change

Dependency cycle between semigroups and QuickCheck:
The specific cycle is part of the commit message. I simply disabled the test suites for hashable and unordered-containers altogether. I'm not sure if there is a better way.

Removing obsolete packages from configuration:
There are a few references to specific versions of packages in configuration-ghc-7.10.x.nix. Many (most?) of them are not included in hackage-packages.nix and fail to evaluate. I deleted those which where only referenced by themselves. That seemed reasonable, but there are more occurrences e.g. in ghc-mod which also don't evaluate. I'm not sure what the general process is in regards to this.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

ljli added 4 commits February 27, 2017 20:36
… GHC < 8

The cycle:
QuickCheck -> semigroups
semigroups -> hashable
semigroups -> unordered-containers
unordered-containers -> hashable
unordered-containers -> QuickCheck # test suite only
hashable -> QuickCheck # test suite only
@mention-bot
Copy link

@ljli, thanks for your PR! By analyzing the history of the files in this pull request, we identified @peti, @LnL7 and @abbradar to be potential reviewers.

@peti peti merged commit d2e8ded into NixOS:master Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants