alephcloud / hs-configuration-tools

Tools for defining and parsing configurations of Haskell applications
MIT License
23 stars 4 forks source link

Compilation failure with Cabal 2.0 #56

Closed snoyberg closed 7 years ago

snoyberg commented 7 years ago
> /tmp/stackage-build14$ stack unpack configuration-tools-0.2.15@gitsha1:c4170b0b7afe6fb1d21404f2acb0d2a788b88a7c
Unpacked configuration-tools-0.2.15 to /tmp/stackage-build14/configuration-tools-0.2.15/
> /tmp/stackage-build14/configuration-tools-0.2.15$ ghc -clear-package-db -global-package-db -package-db=/var/stackage/work/builds/nightly/pkgdb Setup
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )

Setup.hs:224:14: error:
    Not in scope: data constructor ‘FlagName’
    Perhaps you meant one of these:
      variable ‘flagName’ (imported from Distribution.PackageDescription),
      variable ‘mkFlagName’ (imported from Distribution.PackageDescription),
      variable ‘unFlagName’ (imported from Distribution.PackageDescription)
    |
224 | flagNameStr (FlagName s) = s
    |  
larskuhtz commented 7 years ago

This got fixed in version 0.3.0. Thanks for reporting the issue!