yogsototh / holy-project

Initializer of Haskell project (cabal, git, tests...) + good tutorial
MIT License
15 stars 6 forks source link

holy-project-0.2.0.1 build failure with http-conduit-2.3 #7

Open DanBurton opened 6 years ago

DanBurton commented 6 years ago

As seen on the Stackage build server:

[2 of 7] Compiling HolyProject.GithubAPI ( src/HolyProject/GithubAPI.hs, dist/build/holy-project/holy-project-tmp/HolyProject/GithubAPI.o )

src/HolyProject/GithubAPI.hs:22:5: error:
    Variable not in scope:
      withManager :: (Manager -> m0 LZ.ByteString) -> IO LZ.ByteString
   |
22 |     withManager $ (return.responseBody) <=< httpLbs request
   |     ^^^^^^^^^^^

Here's how I reproduced the error locally:

stack unpack holy-project-0.2.0.1 && cd holy-project-0.2.0.1
edit stack.yaml # add the following stack.yaml
stack build
# stack.yaml
resolver: nightly-2018-03-10
extra-deps:
- http-conduit-2.3.0
DanBurton commented 6 years ago

I've removed holy-project from the Stackage nightly build plan, and unfortunately it won't appear in the initial LTS 11 release.

To get back into nightly, open a PR on the Stackage repo as usual. To get into LTS 11, open an issue on https://github.com/fpco/lts-haskell/issues.