Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>GHC ships with a certain set of libraries already installed. When you run the build command above cabal wants to "reinstall" some older versions of the libraries that ship with GHC. This is bad for obvious reasons.</p> <p>If you really need to do this, it may work to use <code>cabal-dev</code> instead of <code>Cabal</code>. By the way, using <code>Setup.hs</code> invokes the version of the <code>Cabal</code> library that shipped with your compiler, where as running the <code>cabal</code> command invokes the <code>cabal-install</code> program.</p> <p><code>cabal-dev</code> is a wrapper around <code>cabal-install</code> (and thus <code>Cabal</code> the library) that provides sandboxed builds. Making it safe to install programs that need different versions of the libraries that ship with GHC. The remaining question would be whether or not those older libraries would build against the newer GHC. In many cases the build will fail.</p> <p>I highly recommend you use <code>cabal-dev</code> for your day-to-day package building instead of <code>cabal-install</code>. The benefits of sandboxing are many and strongly outweigh the risk of <code>cabal-install</code> corrupting your package database by upgrading a package somewhere in the middle of a dependency chain for something you already have installed.</p> <p>For more information about using <code>cabal-dev</code>, I recommend this <a href="http://www.reddit.com/r/haskell/comments/f3ykj/psa_use_cabaldev_to_solve_dependency_problems/" rel="nofollow">reddit post</a>.</p> <p><code>base</code> is a set of Haskell modules that provide much of the functionality that ships with every GHC install. It's a collection of useful libraries that most Haskell users will want and need.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload