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

Distribution.Nixpkgs.Haskell.FromCabal: no longer emit dep on webkitgtk24x #521

Merged
merged 3 commits into from
Sep 28, 2021

Conversation

sternenseemann
Copy link
Member

webkitgtk24x-gtk{2,3} have been removed from nixpkgs a while ago and
only continue to exist as aliases which throw, informing about the
removal. This is informative, but depends on evaluating with aliases
enabled which may not always be the case.

Instead we just remove this now essentially useless code from
cabal2nix. This will usually cause a dependency on the current version
of webkitgtk and the build to fail -- then we can mark the resulting
package as broken normally which was prevented before by eval
oddities (I presume at least).

webkitgtk24x-gtk{2,3} have been removed from nixpkgs a while ago and
only continue to exist as aliases which throw, informing about the
removal. This is informative, but depends on evaluating with aliases
enabled which may not always be the case.

Instead we just remove this now essentially useless code from
cabal2nix. This will usually cause a dependency on the current version
of webkitgtk and the build to fail -- then we can mark the resulting
package as broken normally which was prevented before by eval
oddities (I presume at least).
This reflects nixpkgs where webkit is an alias for webkitgtk.
Copy link
Member

@maralorn maralorn left a comment

Choose a reason for hiding this comment

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

Looks very reasonable.

But maybe this should warrant a CHANGELOG entry and a major version bump? Not sure …

@sternenseemann
Copy link
Member Author

We will do a major version bump anyways and a changelog entry never hurts, you're right. Care to proofread?

@maralorn
Copy link
Member

Great!

@sternenseemann sternenseemann merged commit b4d893e into NixOS:master Sep 28, 2021
@sternenseemann sternenseemann deleted the no-more-webkitgtk24 branch September 28, 2021 21:10
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

2 participants