[Haskell-cafe] stack install ghcide fails

Brandon Allbery allbery.b at gmail.com
Tue Dec 10 16:44:35 UTC 2019


Smells a bit like it only applies the MonadFail instance in ghc 8.8.1, but
the build log said ghc 8.6 and implied MonadFailDesugaring enabled from the
error message.

On Tue, Dec 10, 2019 at 11:42 AM Vanessa McHale <vamchale at gmail.com> wrote:

> cabal install ghcide -w ghc-8.8.1 seems to work, so I don’t think it’s
> ghcide precisely.
>
> Cheers,
> Vanessa
>
> On Dec 10, 2019, at 10:37 AM, Viktor Dukhovni <ietf-dane at dukhovni.org>
> wrote:
>
> On Dec 10, 2019, at 11:03 AM, Dušan Kolář <kolar at fit.vut.cz> wrote:
>
> --  While building package ghcide-0.0.4 using:
>      /home/kolar/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.3
> --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1 build
> --ghc-options " -fdiagnostics-color=always"
>    Process exited with code: ExitFailure 1
>
>
> Does that mean the ghcide is broken? Or am I doing something wrong?
>
>
> Taking a quick look at recent ghcide commits, I see:
>
>
> https://github.com/digital-asset/ghcide/commit/e78e1638ea00af7c5bf4fdbae245413eafed4248
>
> which shows changes to a stack.yaml file using "resolver:
> nightly-2019-12-06".
> The removed extra-deps are:
>
>  - haskell-lsp-0.18.0.0
>  - lsp-test-0.8.2.0
>  - hslogger-1.3.0.0
>  - network-bsd-2.8.1.0
>
> and the presumably expectation is that these will show up in a stack
> release soon.
> But in the mean time you've selected:
>
>  - haskell-lsp-0.17.0.0
>  - haskell-lsp-types-0.17.0.0
>  - hie-bios-0.2.1
>  - rope-utf16-splay-0.3.1.0
>
> which are older, and may not work with GHC 8.8.1 (MFP changes) used by
> recent
> stack nightly builds.  You could try changing the stack.yaml file to use an
> even more recent nightly, but ultimately, may need to figure out the right
> versions of the extra dependencies.
>
> --
> Viktor.
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.



-- 
brandon s allbery kf8nh
allbery.b at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20191210/2885e119/attachment.html>


More information about the Haskell-Cafe mailing list