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

haskell ghc710x packages fixes #23252

Merged
merged 2 commits into from
Mar 2, 2017
Merged

haskell ghc710x packages fixes #23252

merged 2 commits into from
Mar 2, 2017

Conversation

ljli
Copy link
Contributor

@ljli ljli commented Feb 27, 2017

Motivation for this change
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.

@mention-bot
Copy link

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

@@ -42,6 +42,10 @@ self: super: {
# Build jailbreak-cabal with the latest version of Cabal.
jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal_1_24_2_0; };

gtk2hs-buildtools = super.gtk2hs-buildtools.override { Cabal = self.Cabal_1_24_2_0; };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you consider Cabal a build tool? Is it not a Haskell dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cabal is itself a cabal package available on hackage. GHC pins a specific version on each release and distributes it among its boot packages. gtk2hs-buildtools requires a newer major version of Cabal than the one that is pinned by GHC 7.10.x (that would be 1.22.x.x). For that reason the package fails to build at present, supplying the newer Cabal dependency fixes it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, okay. Sorry, I misread your patch, actually, and misunderstood the change. Thank you for the explanation.

@@ -182,6 +186,9 @@ self: super: {
# https://github.com/well-typed/hackage-security/issues/158
hackage-security = dontHaddock (dontCheck super.hackage-security);

# Fixed in 1.0.5, remove if stackage and configuration-hackage2nix.yaml catched up
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That happens within a week or less. Is it okay to avoid adding this override temporarily for such a short period of time?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's reasonable, I'll update the PR accordingly.

@ljli ljli force-pushed the ghc7103-pkgs-fixes branch from 114a15f to 1a4ec41 Compare February 28, 2017 15:20
@peti peti merged commit 027ffb6 into NixOS:master Mar 2, 2017
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

4 participants