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
cabal-version: 2.0
-- This file has been generated from package.yaml by hpack version 0.34.2.
--
-- see: https://github.com/sol/hpack
name: indigo
version: 0.0.0
build-type: Simple
library
exposed-modules:
Indigo
other-modules:
Paths_indigo
autogen-modules:
Paths_indigo
hs-source-dirs:
src
default-extensions: RebindableSyntax OverloadedStrings
default-language: Haskell2010
When I run cabal build I get this:
cabal: The package uses RebindableSyntax with OverloadedStrings or
OverloadedLists in default-extensions, and also Paths_ autogen module. That
configuration is known to cause compile failures with Cabal < 2.2. To use
these default-extensions with Paths_ autogen module specify at least
'cabal-version: 2.2'.
So I suppose hpack should set cabal-version to 2.2 in this case. As a workaround I do
verbatim:
cabal-version: 2.2
but it would be nicer if it was handled by hpack itself.
The text was updated successfully, but these errors were encountered:
#405 is closed and doesn't have any commits as of now. AFAIU the fix is in bd27333. I'll test it when a new release reaches me or maybe will test manually with master. This issue is closed anyway, so there should be no rush. Thanks for the fix!
My
package.yaml
is very small:It produces the following
indigo.cabal
file:When I run
cabal build
I get this:So I suppose
hpack
should setcabal-version
to 2.2 in this case. As a workaround I dobut it would be nicer if it was handled by
hpack
itself.The text was updated successfully, but these errors were encountered: