Skip to content

Commit

Permalink
locli: add cardano-prelude < 0.2 constraint
Browse files Browse the repository at this point in the history
Otherwise:

src/Cardano/Analysis/API/Ground.hs:58:13: error:
    Ambiguous occurrence ‘toText’
    It could refer to
       either ‘Cardano.Prelude.toText’,
              imported from ‘Cardano.Prelude’ at src/Cardano/Analysis/API/Ground.hs:14:1-53
              (and originally defined in ‘cardano-prelude-0.2.0.0:Cardano.Prelude.ConvertText’)
           or ‘Data.Text.Short.toText’,
              imported from ‘Data.Text.Short’ at src/Cardano/Analysis/API/Ground.hs:25:63-68
              (and originally defined in ‘text-short-0.1.5:Data.Text.Short.Internal’)
   |
58 | shortHash = toText . SText.take 6 . unHash
   |             ^^^^^^
  • Loading branch information
amesgen committed Jun 27, 2024
1 parent e2ceaea commit 23a7146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/locli/locli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ library
, bytestring
, cardano-git-rev
, cardano-ledger-core
, cardano-prelude
, cardano-prelude < 0.2
, cardano-slotting
, containers
, deepseq
Expand Down

0 comments on commit 23a7146

Please sign in to comment.