Closed andys8 closed 2 years ago
This in turn doesn't work if compiled against
CAbal
What does this mean exactly?
I don't know if I fully understand what's going on with that condition. The way I interpreted it, is that only the if flag(license-report)
part containes a Cabal/Cabal-syntax
dependency.
And therefore #if defined(MIN_VERSION_Cabal[_syntax])
is only a guard to make sure the flag was activated. Therefore it otherwise results in
Please recompile/reinstall
cabal-plan
with thelicense-report
Cabal flag activated.
So, how are users installing it against Cabal
? Is this a compat thing I don't know of? Or if cabal-plan
is used as library? And most important: How can it be fixed - since I think the current state is broken?
Squashed in https://github.com/haskell-hvr/cabal-plan/pull/89, thanks.
Solves https://github.com/haskell-hvr/cabal-plan/issues/87