hs-gen-iface: Cannot expand #if directive in file ./Control/Monad/Trans/Error.hs at line 60 col 1:
MIN_VERSION_base(a,b,c) is not a defined macro
cabal_macros.h is not in the preInclude field of the cpphs options given to hs-gen-iface by cabal but I believe it should be. This is not a fix but a workaround.
I tried to use hs-gen-iface with cabal i.e.:
It failed with
cabal_macros.h is not in the preInclude field of the cpphs options given to hs-gen-iface by cabal but I believe it should be. This is not a fix but a workaround.
Using https://github.com/haskell/cabal/commit/944d50780ee554eb64c804a92793ad2f0fb56144