Looking at the .cabal file , I see that you have no restrictions on your dependencies. You really should have at least lower bounds and preferably both lower and upper bounds.
As @Emanuel Borsboom mentioned, you can have a stack fill in version restrictions for you when you load a package in Hackage with:
stack upload --pvp-bounds=both
In fact, for applications, I suggest including the cabal.config file generated by cabal freeze in the package:
cabal freeze mv cabal.config cabal.config-sample
When I ran into the problem of creating legacy applications from Hackage, I often wanted authors to include this information. You can get the cabal.config file for a specific snapshot:
https:
And in your stack.yaml file stack.yaml I would use the standard version of LTS, not nightly- . Presumably, they will never be deleted. On the other hand, you will help your users by reducing the number of snapshots of the directories they need to support.
source share