On a similar note, would it not be nice if cabal install understood about platforms and could tell you straight away that a package won't install under e.g. windows, rather then spending ages trying and then failing because a package tries to run a unix command?

I always get a bit annoyed trying to do anything in windows with Haskell libraries, at the very least I'd like it to be clear from the start that something won't work (if it's by design) so I don't waste time trying. Ideally the hackage website would even allow you to filter packages by the OS you're using and would remove packages that won't build on that OS (by recursively checking dependencies too).

--------------------------------------------------
From: "Duncan Coutts" <duncan.cou...@worc.ox.ac.uk>
Sent: Sunday, January 18, 2009 6:20 PM
To: "Sebastian Sylvan" <sebastian.syl...@gmail.com>
Cc: "Jeff Wheeler" <j...@nokrev.com>; <haskell-cafe@haskell.org>
Subject: Re: [Haskell-cafe] runghc Setup.hs doitall

On Sun, 2009-01-18 at 16:48 +0000, Sebastian Sylvan wrote:
Doesn't work on windows.

http://haskell.org/~duncan/cabal/cabal.exe

It's not the latest version but you can use it to self-update. I'll post
a more recent build after the next release. I might also put it in a
slightly more discoverable place ;-)

Duncan


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to