Feedforward installation problem

Hi! I'm on Linux Mint, trying to install feedforward but when doing 'cabal install' this error message appears:

Wrote tarball sdist to
Resolving dependencies...
Build profile: -w ghc-8.8.4 -O1
In order, the following will be built (use -v for more details):
 - ncurses-0.2.16 (lib:ncurses) (requires build)
 - feedforward-0.0.1 (exe:feedforward) (requires build)
Starting     ncurses-0.2.16 (all, legacy fallback)
Building     ncurses-0.2.16 (all, legacy fallback)

Failed to build ncurses-0.2.16.
Build log (
Configuring ncurses-0.2.16...
Preprocessing library for ncurses-0.2.16..
c2hs: C header contains errors:

dist/build/UI/NCurses/Enums.chs.h:140: (column 25) [ERROR]  >>> Unknown identifier!
  Cannot find a definition for `KEY_EVENT' in the header file.

cabal: Failed to build ncurses-0.2.16 (which is required by exe:feedforward
from feedforward-0.0.1). See the build log above for details.

Does anybody know what's the issue here? Thanks in advance!

Yip - there's a bug logged on the feedforward repo referencing the actual bug:

1 Like

I posted a workaround here:


Thank you!