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 found the answer. Using cabal-version: >= 1.10, cabal-install 1.20.0.2 generates the following warning:
Warning: For packages using 'cabal-version: >= 1.10' the 'extensions' field is
deprecated. The new 'default-extensions' field lists extensions that are used
in all modules in the component, while the 'other-extensions' field lists
extensions that are used in some modules, e.g. via the {-# LANGUAGE #-}
pragma.
This has been partly addressed by 3f53ee2 but as @phadej points out it should provide more guidance about what effect using other-extensions has (e.g. for Cabal < 1.24 it results in Cabal aborting if the current compiler doesn't provide the extensions, for Cabal>=1.24 the solver uses that information)
Activity
asr commentedon Jun 23, 2014
Meanwhile, could someone tell me the difference between the
extensionsandother-extensionsfields?asr commentedon Jun 23, 2014
I found the answer. Using
cabal-version: >= 1.10, cabal-install 1.20.0.2 generates the following warning:bicycle1885 commentedon Oct 3, 2014
And the document about 'default-extensions' is also missing.
hvr commentedon Sep 10, 2015
This has been partly addressed by 3f53ee2 but as @phadej points out it should provide more guidance about what effect using
other-extensionshas (e.g. for Cabal < 1.24 it results in Cabal aborting if the current compiler doesn't provide the extensions, for Cabal>=1.24 the solver uses that information)23Skidoo commentedon Sep 11, 2015
Fixed by #2818.
massysett commentedon Sep 11, 2015
Thank you!
Ericson2314 commentedon Sep 15, 2016
https://www.haskell.org/cabal/users-guide/ seems really out of date---this is probably documented elsewhere but I've twice forgotten about this, been confused by the lack of documentation at the URL, and then checked the repo.
hvr commentedon Sep 15, 2016
@Ericson2314 for future reference, bleeding edge docs are at http://cabal.readthedocs.io/en/latest/developing-packages.html#build-information