Open ch1bo opened 4 years ago
With a case
for both data constructors of Flag
(https://hackage.haskell.org/package/Cabal-3.0.0.0/docs/Distribution-Simple-Setup.html#t:Flag), this could be caught and fixed.. but I have no idea what path to pick in the case none is given on configure
. The current working directory?
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.