Skip to content

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

2 participants