Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoeldner committed Aug 14, 2023
1 parent 528b0cd commit ac550bb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 234 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ installed on your machine to use it.

##### Dependencies

- `ghc >= 8.4` (Haskell compiler) and `cabal >= 2.2` (Haskell build-tool)
- The easiest way to get this is to install it using (Linux/Mac) [ghcup](https://www.haskell.org/ghcup/) and issue `ghcup install 8.6.5`, followed by `ghcup install-cabal`.
- `ghc >= 9.6` (Haskell compiler) and `cabal >= 2.2` (Haskell build-tool)
- The easiest way to get this is to install it using (Linux/Mac) [ghcup](https://www.haskell.org/ghcup/) and issue `ghcup install 9.6.2`, followed by `ghcup install-cabal`.
- ghc may also be installed via brew, issuing `brew install ghc` and `brew install cabal-install`.

(You may also need to install `zlib`, `z3`, and `sqlite`)
Expand All @@ -125,7 +125,7 @@ cabal v2-build
On some systems the default build might fail with linker errors complaining about cryptonite and ed25519, try:

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

# Build the project.
Expand All @@ -146,13 +146,15 @@ you may need to add to your path. Then, you can call `pact` as-is.

The fastest way to build and run Pact is to use the Nix package manager
which has binary caching capabilities that allow you to download pre-built
binaries for everything needed by Pact. For detailed instructions see [our
wiki](https://github.com/kadena-io/pact/wiki/Building-Kadena-Projects).

binaries for everything needed by Pact.
We use nix flakes to build pact and its dependencies. To build the Pact executable:
```bash
nix build
```
When the build is finished, you can run Pact with the following command:

```bash
./result/ghc/pact/bin/pact
./result/bin/pact
```

### Verifying Installation
Expand Down
10 changes: 0 additions & 10 deletions default.nix

This file was deleted.

124 changes: 0 additions & 124 deletions project.nix

This file was deleted.

1 change: 0 additions & 1 deletion shell.nix

This file was deleted.

92 changes: 0 additions & 92 deletions static.nix

This file was deleted.

0 comments on commit ac550bb

Please sign in to comment.