Skip to content

Commit

Permalink
haskellPackages.extensions: jailbreak
Browse files Browse the repository at this point in the history
Allow building with hspec-hedgehog 0.1.1.0 kowainik/extensions#92
  • Loading branch information
ncfavier committed Jan 15, 2024
1 parent 8338712 commit 83c6ef3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,13 @@ self: super: {

# Extensions wants the latest version of Cabal for its list of Haskell
# language extensions.
extensions = super.extensions.override {
# 2024-01-15: jailbreak to allow hspec-hedgehog 0.1.1.0 https://github.com/kowainik/extensions/pull/92
extensions = doJailbreak (super.extensions.override {
Cabal =
if versionOlder self.ghc.version "9.6"
then self.Cabal_3_10_2_1
else null; # use GHC bundled version
};
});

#######################################
### HASKELL-LANGUAGE-SERVER SECTION ###
Expand Down

1 comment on commit 83c6ef3

@peterbecich
Copy link
Contributor

Choose a reason for hiding this comment

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

revision pushed to Hackage, I think jailbreak can be removed now: https://hackage.haskell.org/package/extensions-0.1.0.1/revisions/

Please sign in to comment.