Building with cabal, which resolves base64 to 1.0, fails.
We either need to pin base64 <1 in hledger-web or need to update the code.
cabal build all
Hledger/Web/Widget/AddForm.hs:189:7: error:
• Couldn't match type ‘base64-1.0:Data.Base64.Types.Internal.Base64
'base64-1.0:Data.Base64.Types.Internal.StdPadded Text’
with ‘Text’
Expected: Text -> Text
Actual: Text
-> base64-1.0:Data.Base64.Types.Internal.Base64
'base64-1.0:Data.Base64.Types.Internal.StdPadded Text
• In the second argument of ‘(.)’, namely ‘b64wrap’
In the second argument of ‘(.)’, namely ‘(<> "}") . b64wrap’
In the first argument of ‘map’, namely
‘(("{\"value\":" <>) . (<> "}") . b64wrap)’
|
189 | b64wrap
| ^^^^^^^
For maintainers:
severity3
impact2
Update:
For now, we (alpine) have pinned base64 <1 here. I believe other distributions building hledger with cabal would be facing the same.
Building with cabal, which resolves base64 to 1.0, fails.
We either need to pin
base64 <1
in hledger-web or need to update the code.For maintainers:
Update:
For now, we (alpine) have pinned
base64 <1
here. I believe other distributions building hledger with cabal would be facing the same.