[Haskell-cafe] ghc-mod: cannot satisfy yesod-static

Denis Shevchenko haskell at dshevchenko.biz
Wed Jul 22 19:04:05 UTC 2015


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.


More information about the Haskell-Cafe mailing list