mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-12 23:38:29 +01:00
Add clearing of .ghc environments
parent
b01bf061e6
commit
fb3fb3c60b
@ -1,3 +1,18 @@
|
||||
# How do I clear my existing environment?
|
||||
|
||||
If you already have installed some packages from Hackage or elsewhere and you want to start from a fresh package set, you can remove your `~/.ghc/<os>-<ghc-version>` directory.
|
||||
|
||||
For example, in my directory `.ghci` I have:
|
||||
|
||||
$ ls ~/.ghc/
|
||||
x86_64-linux-7.2.2 x86_64-linux-7.4.2 x86_64-linux-7.6.2 x86_64-linux-7.6.3 x86_64-linux-7.8.2
|
||||
|
||||
If I want to clear my GHC 7.2.2. environment, all the user-installed packages, I can remove the directory `x86_64-linux-7.2.2`. **Be careful** that you are sure that you want to clear your package set (re-installing packages takes time!) and that you clear the right one.
|
||||
|
||||
On Windows the `.ghc` directory might be in a directory like `C:\Documents and Settings\HaskellCurry\`.
|
||||
|
||||
Now you can set Stackage as your `remote-repo` and run `cabal update`.
|
||||
|
||||
# How do I use it with sandboxes?
|
||||
|
||||
## hsenv
|
||||
|
||||
Loading…
Reference in New Issue
Block a user