hpdeifel / hledger-iadd

A terminal UI as drop-in replacement for hledger add.
BSD 3-Clause "New" or "Revised" License
78 stars 8 forks source link

Build failure with latest dependencies #25

Closed snoyberg closed 7 years ago

snoyberg commented 7 years ago
[10 of 12] Compiling AmountParser     ( src/AmountParser.hs, dist/build/AmountParser.o )

src/AmountParser.hs:9:17: error:
    • Expecting one fewer arguments to ‘HL.JournalParser Identity’
      Expected kind ‘k0 -> k1’,
        but ‘HL.JournalParser Identity’ has kind ‘*’
    • In the type ‘HL.JournalParser Identity a’
      In the type declaration for ‘Parser’
  |
9 | type Parser a = HL.JournalParser Identity a
  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/AmountParser.hs:9:34: error:
    • Expecting one more argument to ‘Identity’
      Expected a type, but ‘Identity’ has kind ‘* -> *’
    • In the first argument of ‘HL.JournalParser’, namely ‘Identity’
      In the type ‘HL.JournalParser Identity a’
      In the type declaration for ‘Parser’
  |
9 | type Parser a = HL.JournalParser Identity a
  |                                  ^^^^^^^^
hpdeifel commented 7 years ago

This was due to a broken release tarball. The git tag did not contain this issue.

Should be fixed now in hledger-iadd-1.2.5. Thanks for the report!