Skip to content

Commit

Permalink
Update nix documentation the README (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeme-wana committed Nov 17, 2023
1 parent 8f46107 commit bf4c38f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 11 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ the spending of role payouts.

## Dev Shell

To enter a dev shell with all dependencies installed, you can use
This repository uses nix to provide the development and build environment.

```bash
nix develop
```
For instructions on how to install and configure nix (including how to enable access to our binary caches), refer to [this document](https://github.com/input-output-hk/iogx/blob/main/doc/nix-setup-guide.md).

If you already have nix installed and configured, you may enter the development shell by running `nix develop`.

Alternatively, if you have direnv installed, you can have the shell
automatically load and refresh for you by running these commands:
If you have direnv installed, you can have the shell automatically load and
refresh for you by running these commands:

```bash
mkdir .direnv
Expand All @@ -37,7 +37,7 @@ Alternatively, you can compile with `nix` using `nix build .#marlowe-validators`
You can compile the validators using the following command:

```bash
nix build .#validators
nix build .#marlowe-validators
```

This will build the project and run the `marlowe-validators` executable and
Expand Down
25 changes: 21 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bf4c38f

Please sign in to comment.