Skip to content

Commit

Permalink
Merge #3192
Browse files Browse the repository at this point in the history
3192: Quick fix: Constrain hedgehog < 1.1 r=sevanspowell a=sevanspowell

- Constrain the version of hedgehog to < 1.1. Versions >= 1.1 define the Rec
  constructor in Hedgehog, which conflicts with the Rec constructor defined in
  plutus-ir/src/PlutusIR/Generators/AST.hs.
- This is the quickest way to fix the cardano-wallet nightly build. A more long-term fix would be to upgrade the version of Plutus we are using. To do so, we'd need to do this ticket first: ADP-1545.


Co-authored-by: Samuel Evans-Powell <[email protected]>
  • Loading branch information
iohk-bors[bot] and sevanspowell authored Mar 23, 2022
2 parents 3bf427b + 6e69ebd commit d2fa0c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,11 @@ allow-newer:

constraints:
hedgehog >= 1.0.2
-- QUICK FIX: hedgehog >= 1.1 defines Rec constructor, PlutusIR also defines
-- Rec constructor, and imports Hedgehog unqualified, leading to ambiguous
-- reference to Rec.
-- FIXME: https://input-output.atlassian.net/browse/ADP-1545
, hedgehog < 1.1
, hashable < 1.4
, bimap >= 0.4.0
, libsystemd-journal >= 1.4.4
Expand Down

0 comments on commit d2fa0c9

Please sign in to comment.