
On 21/01/14 04:44, Brian Victor wrote:
I'm receiving an error from ghc-mod in my cabal sandbox:
%./.cabal-sandbox/bin/ghc-mod list Dummy:0:0:Error:<command line>: cannot satisfy -package cairo (use -v for more information)
The obvious potential problem is that cairo isn't installed. However,
%cabal repl Preprocessing executable 'Notation' for Notation-0.1.0.0... GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help ... Prelude Main> import Graphics.Rendering.Cairo Prelude Graphics.Rendering.Cairo Main>
If you use ghci and point it to only the cabal sandbox, can you still import Graphics.Rendering.Cairo? For example: ghci -no-user-package-db -package-db .cabal-sandbox/x86_64-linux-ghc-7.6.3-packages.conf.d but change "x86_64-linux-ghc-7.6.3" to your appropriate architecture and ghc version. -- Carlo Hamalainen http://carlo-hamalainen.net