diff options
| author | John J. Camilleri <john@digitalgrammars.com> | 2020-07-28 22:54:34 +0200 |
|---|---|---|
| committer | John J. Camilleri <john@digitalgrammars.com> | 2020-07-28 22:54:34 +0200 |
| commit | c53353f08763fbbfb5c0abeaa03da6a23aa64080 (patch) | |
| tree | 89678b42b9a703d67d25eebe1cf394797d994585 /src/runtime/haskell-bind | |
| parent | f00f0cb0ef46d1a203e9d4ac238ec1a2e867fd51 (diff) | |
Updates to PGF2 readme
Diffstat (limited to 'src/runtime/haskell-bind')
| -rw-r--r-- | src/runtime/haskell-bind/README.md | 15 | ||||
| -rw-r--r-- | src/runtime/haskell-bind/stack.yaml | 2 |
2 files changed, 14 insertions, 3 deletions
diff --git a/src/runtime/haskell-bind/README.md b/src/runtime/haskell-bind/README.md index f136ad2da..1cb68df65 100644 --- a/src/runtime/haskell-bind/README.md +++ b/src/runtime/haskell-bind/README.md @@ -9,13 +9,22 @@ The exposed modules are: ## How to compile -**Note:** you must have the PGF C runtime already installed and available. +**Important:** You must have the C runtime already installed and available on your system. See <https://github.com/GrammaticalFramework/gf-core/blob/master/src/runtime/c/INSTALL> -Once the runtine is installed, you can use: +Once the runtine is installed, you can install the library to your global Cabal installation: ``` -cabal install pgf2 +cabal install pgf2 --extra-lib-dirs=/usr/local/lib +``` + +or add it to your `stack.yaml` file: + +```yaml +extra-deps: + - pgf2 +extra-lib-dirs: + - /usr/local/lib ``` ## How to use diff --git a/src/runtime/haskell-bind/stack.yaml b/src/runtime/haskell-bind/stack.yaml index 3d69a763f..3b1a3092b 100644 --- a/src/runtime/haskell-bind/stack.yaml +++ b/src/runtime/haskell-bind/stack.yaml @@ -1 +1,3 @@ +# This is mainly here so that I can run `stack sdist` for uploading to Hackage + resolver: lts-12.26 # ghc 8.4.4 |
