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
Users are sometimes confused about the semantics in case of a missing custom-setup and whether you can add a custom-setup stanza even w/o saying cabal-version:>=1.24. (See e.g. haskell-CI/haskell-ci#81 for an example).
Consequently, we should flesh out the documentation for custom-setup, and document at least the following aspects:
Which setup-depends are implied with recent exe:cabal versions for a missing custom-setup
How do old cabal versions react if you add a custom-setup (which those version didn't support yet),
or more generally: How lib:Cabal version and exe:cabal versions relate to each other in the context of (non)existence of custom-setup
Recommended practice if compatiblity with older Cabal versions is required.
and thus the relevance of cabal-version:>=1.24 when using custom-setup
The text was updated successfully, but these errors were encountered:
Yes, these question are still terribly interesting and their answers very hard to discover.
Please, someone who knows the answers, have mercy on us dumb users and extend the docs.
However, I cannot claim to have understood the logic behind that. (Even more since the build claimed to have run under Cabal/cabal-install 3.2.0.0, which shouldn't have raised the issue in the first place---see versions flab.)
Uh oh!
There was an error while loading. Please reload this page.
The documentation at http://cabal.readthedocs.io/en/latest/developing-packages.html#custom-setup-scripts is rather terse.
Users are sometimes confused about the semantics in case of a missing
custom-setup
and whether you can add acustom-setup
stanza even w/o sayingcabal-version:>=1.24
. (See e.g. haskell-CI/haskell-ci#81 for an example).Consequently, we should flesh out the documentation for
custom-setup
, and document at least the following aspects:setup-depends
are implied with recentexe:cabal
versions for a missingcustom-setup
cabal
versions react if you add acustom-setup
(which those version didn't support yet),lib:Cabal
version andexe:cabal
versions relate to each other in the context of (non)existence ofcustom-setup
cabal-version:>=1.24
when usingcustom-setup
The text was updated successfully, but these errors were encountered: