You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue with the custom Setup.hs when building:
Building bundled FLTK
Setup.hs:209:7-88: Non-exhaustive patterns in Flag prefixTemplate
Ran into this while building fltkhs using nix, but the essential problem is that the custom Setup.hs does depend on the fact that there a --libdir is passed to Cabal's configure. For example:
$ nix-shell -p ghc --run "runhaskell Setup.hs configure -fbundled"
Building bundled FLTK
Setup.hs:209:7-88: Non-exhaustive patterns in Flag prefixTemplate
What's the rationale about a custom Setup.hs here?? AFAIK there are other packages which do have "in-tree" upstream c libraries which do use autoconf and a far simpler Setup.hs. One example would be integer-gmp in ghc itself.
The text was updated successfully, but these errors were encountered:
I have an issue with the custom
Setup.hs
when building:Ran into this while building
fltkhs
using nix, but the essential problem is that the customSetup.hs
does depend on the fact that there a--libdir
is passed toCabal
'sconfigure
. For example:while configuring like this works:
What's the rationale about a custom
Setup.hs
here?? AFAIK there are other packages which do have "in-tree" upstream c libraries which do use autoconf and a far simplerSetup.hs
. One example would beinteger-gmp
in ghc itself.The text was updated successfully, but these errors were encountered: