RFC: include a cabal-install executable in future GHC releases

Erik de Castro Lopo mle+hs at mega-nerd.com
Mon Jan 20 00:33:55 UTC 2014


Carter Schonwald wrote:

> that still requires some discovery though! The idea (i'd hope) would be to
> make the "my first ghc install on a vm" (for experts and new folks both)
> 
> go from
> 
> #install ghc via whatever mechanism, eg wget, guntar, cd blah ; make
> install PREFIX=yah
> #figure out how to install cabal, eg discover wget and then ./bootstrap
> # cabal install thingsIwannaTry
> 
> to
> # install ghc via some wget and make
> #cabal install nice things

Thats basically how I work on Debian based Linux systems:

    # apt-get install ghc alex happy cabal-install
    $ cabal install nice-things

Where '#' is the root prompt and '$' is the user prompt.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the Glasgow-haskell-users mailing list