[Haskell-cafe] Re: Haskell packaging on Windows "cygwin" (<< POSIX on Windows ; ^)

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Nov 29 08:45:01 EST 2007


On Thu, 2007-11-29 at 00:21 -0600, Galchin Vasili wrote:
> The message I actually receive is: 
> 
> runhaskell Setup.lhs build ....
> .....
> 
> ./Haq.hs:6:7:
>       Could not find module `System.Environment':
>           it is a member of a package base, which is hidden 
> 
> BTW I haven't actually checked source in via darcs due to cygwin $PATH
> problems ...

Have you tried adding:

build-depends: base

you your .cabal file?

Cabal enforces that your code may only use packages that you have
explicitly stated your code depends on.

Duncan



More information about the Haskell-Cafe mailing list