Commit 5e29b5e7 authored by ijones's avatar ijones
Browse files

updated these docs after some feedback

parent 2bc1fa91
......@@ -22,8 +22,13 @@ http://www.haskell.org/cabal
-= Working with older versions of Cabal =-
If you have an older version of Cabal installed, you may have to
specify which version you want when you run ghci. For instance:
* Installing as root / Administrator (GHC's global package file)
This is the recommended method of installing Cabal.
If you have an older version of Cabal installed, in order to use the
new one after installation you may have to specify which version you
want when you run ghci. For instance:
$ ghci -package Cabal
...
......@@ -45,7 +50,7 @@ If you don't have root access, and you need to install a newer version
of Cabal in your user directory, then this formula may help to hide
the global version:
$ ghc-pkg describe Cabal-1.0 | ghc-pkg --user regiser -
$ ghc-pkg describe Cabal-1.0 | ghc-pkg --user register -
$ ghc-pkg --user hide Cabal-1.0
-= Your Help =-
......
------------------------------------------------------------
-= 1.2 =-
* Move Distribution and everything into a subdirectory, so we can
build the Setup file with the normal invocation of cabal.
* Clean up readme according to Simon's suggestions
- to install globally / with root access: should "just work"
- to install just for me: copy+hide Cabal-1.0, then install the
new one with --user.
* grab and test:
> Another option is to patch the PreProcess.hs module to check to see if
> cpphs exists and if not, to use "raw" cpp, or cpp through ghc or
> something. If someone does this, they should also patch the sanity
> checker to add a warning.
I've fixed this now (as per your last paragraph above), and done some
rudimentary testing. I didn't add a warning though; perhaps we should,
but since it's using the same preprocessor that will be used when
compiling with GHC anyway, I'm not sure a warning will be terribly
helpful.
I hope this can sneak into the Cabal release, but don't worry if not.
-= 1.0 =-
* Install libraries in $libdir/ghc-$ghc_version/ rather than $libdir.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment