Hacker News new | ask | show | jobs
by jfischoff 4410 days ago
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.
1 comments

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.