Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
stack is no longer available as a build method. 
fix cabal build complains about cryptonite and ed25519. closed kadena-io#1022
  • Loading branch information
pkookrthy authored Aug 7, 2022
1 parent 190a212 commit 0b106fd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,17 @@ cabal v2-update
cabal v2-build
```

On some systems the default build might fail with linker errors complaining about cryptonite and ed25519, try:

```bash
# configure cabal
cabal v2-configure -f cryptonite-ed25519

# Build the project.
cabal v2-build
```


This will install a runnable version of Pact, which you can run via:

```bash
Expand All @@ -131,6 +142,8 @@ you may need to add to your path. Then, you can call `pact` as-is.

#### Building with Stack

***(stack is no longer supported)***

Stack is a Haskell build tool that manages compiler and dependency versions for
you. It's easy to install and use.

Expand Down

0 comments on commit 0b106fd

Please sign in to comment.