[Haskell-cafe] ghc-mod and cabal targets

Francesco Mazzoli f at mazzo.li
Wed Feb 13 14:24:48 CET 2013


At Wed, 13 Feb 2013 22:01:35 +0900 (JST),
Kazu Yamamoto (山本和彦) wrote:
> 
> > Nope :).  I have one ‘ghc’, and this is my ‘ghc-pkg list’:
> > <http://hpaste.org/82293>.  ‘ghci -package wl-pprint’ runs just fine.
> 
> Uhhhm. Are you using sandbox?

Actually it turns out that I have a ‘cabal-dev’ directory both in / and /src in
the project folder, which is weird - could it be that ghc-mod invoked it?

In any case, if I delete those, I get:

    bitonic at clay ~/src/kant (git)-[master] % ghc-mod check -g-v src/Kant/Syntax.hs
    Loading package ghc-prim ... linking ... done.
    Loading package integer-gmp ... linking ... done.
    Loading package base ... linking ... done.
    Loading package array-0.4.0.0 ... linking ... done.
    Loading package deepseq-1.3.0.0 ... linking ... done.
    Loading package containers-0.4.2.1 ... linking ... done.
    Loading package semigroups-0.8.4.1 ... linking ... done.
    Loading package transformers-0.3.0.0 ... linking ... done.
    Loading package comonad-3.0.0.2 ... linking ... done.
    Loading package contravariant-0.2.0.2 ... linking ... done.
    Loading package semigroupoids-3.0.0.1 ... linking ... done.
    Loading package bifunctors-3.0 ... linking ... done.
    Loading package prelude-extras-0.2 ... linking ... done.
    Loading package bound-0.5.0.2 ... linking ... done.
    Loading package prelude-extras-0.3 ... linking ... done.
    Loading package bound-0.6 ... linking ... done.
    Loading package bytestring-0.9.2.1 ... linking ... done.
    Loading package filepath-1.3.0.0 ... linking ... done.
    Loading package old-locale-1.0.0.4 ... linking ... done.
    Loading package old-time-1.1.0.0 ... linking ... done.
    Loading package unix-2.5.1.0 ... linking ... done.
    Loading package directory-1.1.0.2 ... linking ... done.
    Loading package terminfo-0.3.2.5 ... linking ... done.
    Loading package haskeline-0.7.0.3 ... linking ... done.
    Loading package mtl-2.1.1 ... linking ... done.
    Loading package text-0.11.2.0 ... linking ... done.
    Loading package parsec-3.1.2 ... linking ... done.
    Loading package transformers-0.2.2.0 ... linking ... done.
    Loading package mtl-2.0.1.0 ... linking ... done.
    Loading package parsec-3.1.3 ... linking ... done.
    Loading package pretty-1.1.1.0 ... linking ... done.
    Loading package wl-pprint-1.1 ... linking ... done.
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred
    ghc-mod:0:0:Probably mutual module import occurred

Francesco



More information about the Haskell-Cafe mailing list