Today when using LTS Haskell and a completely fresh install of GHC-7.8.4 and cabal-1.20 (as by the install instructions for Ubuntu on haskell.org), I got:
ghc-pkg: cannot find package fay-dom
When running cabal install -j --enable-tests --max-backjumps=-1 --reorder-goals on a newly init'ed Yesod "Postgres+Fay" (pf) project.
Today when using LTS Haskell and a completely fresh install of GHC-7.8.4 and cabal-1.20 (as by the install instructions for Ubuntu on haskell.org), I got:
When running
cabal install -j --enable-tests --max-backjumps=-1 --reorder-goals
on a newly init'ed Yesod "Postgres+Fay" (pf) project.The following commands fixed it for me:
I run them from the root directory of the Yesod project. I post this here in case anyone searches for a way to deal with this error.