The package management story in Haskell, I don't want to say broken, is just too complicated for beginners, err actually everyone.
For instance, to install stylish-haskell you will ultimately need the "happy" executable, but cabal is not smart enough to get it for you.
I don't know what a "clean" environment means, nor do I know what you mean by "broken dependencies." Did you:
mkdir stylish-sandbox
cd stylish-sandbox
cabal update
cabal sandbox init
cabal install happy stylish-haskell
cabal copy
cd ..
rm -r stylish-sandbox
That might work.so, what does `cabal copy` do? copy the sandbox to your local .cabal/bin/?
yeah
Doesn't do it. In other news, stylish-haskell appears to have been updated and now installs. :)
Still, as a first experience of haskell, it ain't great.
Re:Haskell Packages for Development
by stefantalpalaru on Wednesday May 21, 2014 @07:10PM
(#7781289)
Don't blame Haskell for it.
On Gentoo with the official 'haskell' overlay it's just a matter of running
emerge stylish-haskell
When I learn more Haskell, I may succeed to figuring out what's wrong.