Custom cradle support

This commit is contained in:
Daniel Vigovszky
2015-03-03 12:18:54 +01:00
parent 247e4e0e76
commit 5d9d6f5630
8 changed files with 79 additions and 5 deletions

View File

@@ -44,6 +44,19 @@ Make sure you're not using the MELPA version of `ghc.el` otherwise you might get
all sorts of nasty conflicts.
## Custom ghc-mod cradle
To customize the package databases used by `ghc-mod`, put a file called `.ghc-mod.cradle` beside the `.cabal` file with the following syntax:
```
temp directory root
package db 1
...
package db n
```
each package database line is either a *path* to a package database, or `global` or `user`.
## IRC
If you have any problems, suggestions, comments swing by