[Haskell] Re: Streams 0.1e released

Simon Marlow simonmarhaskell at gmail.com
Fri Jun 9 11:23:15 EDT 2006

Bulat Ziganshin wrote:

> I released Streams library version 0.1e. Changes are:
> - Fixed bug: "openFD name WriteMode" don't truncated files on unixes
> * Full library now released under BSD3 license, thanks to John Goerzen
> + Now cabalized, thanks to Jeremy Shaw
> Download: http://freearc.narod.ru/Streams.tar.gz
> Docs: http://haskell.org/haskellwiki/Library/Streams
> btw, my cabal file contain line:
> Build-Depends:      base, Win32, template-haskell
> if i correctly understand, this will not work on unix systems, while
> without Win32 package program can't be compiled on my windows box.
> what i can do here? only provide two separate cabal files - one for
> unix, one for windows and give to user text instructions about
> manual renaming of appropriate file?

One workaround: your Setup.lhs could distinguish the OS using 
System.Info, and then invoke the right .cabal file.

Conditional dependencies are an important issue that we do plan to 
address in Cabal.


More information about the Haskell mailing list