Closed DanBurton closed 6 years ago
That's a strange error - that class has been in the Core
module for a long time. The only change in this release is bumping aeson. It looks like a linker problem.
When I run the commands locally, it fails with a different error:
vagrant@vagrant-ubuntu-trusty-64:~/groundhog-postgresql-0.8.0.2$ stack init --resolver nightly-2018-03-07
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- groundhog-postgresql.cabal
Selected resolver: nightly-2018-03-07
Downloaded nightly-2018-03-07 build plan.
AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lt-0_10_4']: Invalid flag name: \"bytestring--lt-0_10_4\""
That error message indicates a bug in an older version of stack. You can run stack upgrade
to upgrade to a newer version of stack.
Thank you! The error was that some new code got merged into master but never released. The new release of groundhog and the database-specific packages will fix it. It's already on Hackage.
Awesome, thanks!
As seen on the Stackage build server:
I was able to reproduce the issue locally like so: