[Haskell-cafe] ghc-mod: cannot satisfy yesod-static
Andrew Morris
lists at andy-morris.xyz
Wed Jul 22 19:36:19 UTC 2015
Ghc-mod doesn't support Stack yet, only plain Cabal sandboxes.
It is in progress though; see, e.g.:
<https://github.com/kazu-yamamoto/ghc-mod/issues/498>
> On 22 Jul 2015, at 20:04, Denis Shevchenko <haskell at dshevchenko.biz> wrote:
>
> Hi all!
>
> I'm trying to use ghc-mod with my Yesod-project, but I get this error:
>
> $ ghc-mod
> ghc-mod: <command line>: cannot satisfy -package-id yesod-static-1.4.0.4-c893310d859222b1b20461f9fdb4d916
> (use -v for more information)
>
> My project builds correctly. In my .cabal-file I see this dependency:
>
> build-depends: base >= 4 && < 5
> , yesod >= 1.4.0 && < 1.5
> , yesod-core >= 1.4.0 && < 1.5
> , yesod-auth >= 1.4.0 && < 1.5
> , yesod-static >= 1.4.0 && < 1.5
> ...
>
> I use LTS-2.18, and I see this package in ~/.stack/snapshots/x86_64-osx/lts-2.18/7.8.4/lib/x86_64-osx-ghc-7.8.4/:
>
> ...
> yesod-static-1.4.0.4
> ...
>
> So, what can I do? Please help me.
>
> Sincerely, Denis.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
More information about the Haskell-Cafe
mailing list