... | ... | @@ -63,6 +63,6 @@ Points to note here: |
|
|
|
|
|
- It is important to compile `Setup.lhs` with your shiny new *inplace* GHC, not your installed GHC. Your inplace GHC has the most up-to-date Cabal library, and that is what you want to link `Setup.lhs` against.
|
|
|
|
|
|
- The `--global` flag instructs Cabal to register the package in the database in your build tree, rather than the one in your home directory (`~/.ghc/...`). In fact, `--global` is actually unnecesary (it's the default), but just in case the default changes in the future it's a good idea to get in the habit of saying whether you want `--global` or `--user`.
|
|
|
- The `--global` flag instructs Cabal to register the package in the database in your build tree, rather than the one in your home directory (`~/.ghc/...`). In fact, `--global` is actually unnecessary (it's the default), but just in case the default changes in the future it's a good idea to get in the habit of saying whether you want `--global` or `--user`.
|
|
|
|
|
|
- The `--inplace` flag to register tells Cabal not to copy the compiled package, but rather to leave it right where it is, and register this location in the package database in your GHC build tree |
|
|
- The `--inplace` flag to register tells Cabal not to copy the compiled package, but rather to leave it right where it is, and register this location in the package database in your GHC build tree. |