Probably Cabal bug

Krasimir Angelov kr.angelov at gmail.com
Fri May 30 02:51:29 EDT 2008


Hi,

I have a package with one library and one executable. Something like this:

name: ...
version: ...

library
  build-depends: base,
                 array,
                 containers,
                 bytestring,
                 random
  ....

executable ...
  build-depends: base,
                 array,
                 containers,
                 bytestring,
                 filepath,
                 directory,
                 random,
                 old-time,
                 process,
                 pretty

Although I specified that the library depends only on few packages the
installed package really depends on the union of packages for listed
for the library and for the executable. I am using Cabal-1.2.3.0. Is
this a known issue?



More information about the cabal-devel mailing list