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 authored and bacchanalia committed Aug 27, 2024
1 parent 9c262c3 commit 00583d4
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

0 comments on commit 00583d4

Please sign in to comment.