polysemy/stack.yaml
Samuel Evans-Powell 95b4b5508c Feature/cabal doctest and ghc 8.8.1 (#267)
* Use cabal-doctest

- Haskell build tools run in slightly different environments (meaning different
  package databases are available).
- The nixpkgs build for polysemy-plugin is failing due to a missing package
  database, which causes the doctest to fail (more information here:
  https://github.com/NixOS/nixpkgs/issues/71164).
- By using cabal-doctest we can expose the Haskell packages required to the
  doctests no matter the build tool we're using.

* Use cabal-doctest in polysemy, build on GHC 8.8.1

- Use @googleson78 's changes to build polysemy on GHC 8.8.1, with slight
  modifications. The source distribution is now found in "dist-newstyle/sdist",
  so we've updated the command to point at that folder. Additionally, cabal
  v2-install doesn't support installing .tar.gz files in the same way v1-install
  did, so updated the command to use "cabal v1-install".
- Modified polysemy to use "cabal-doctest" and so overcome issues with the
  doctest tests (see issue #258, PR #265).
2019-10-28 17:13:44 +01:00

20 lines
333 B
YAML

resolver: lts-13.0
packages:
- .
- polysemy-plugin
extra-deps:
- aeson-1.4.3.0
- bifunctors-5.5.4
- dump-core-0.1.3.2
- first-class-families-0.6.0.0
- ghc-lib-0.20190204
- inspection-testing-0.4.2
- loopbreaker-0.1.1.1
- monadLib-3.9
- th-abstraction-0.3.1.0
- unagi-chan-0.4.1.3
- type-errors-0.2.0.0
- type-errors-pretty-0.0.1.0