mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-07 07:53:07 +00:00
Referenced issue: https://github.com/codex-storage/nim-codex/issues/940 Signed-off-by: markoburcul <marko@status.im>
30 lines
524 B
Markdown
30 lines
524 B
Markdown
# Usage
|
|
|
|
## Shell
|
|
|
|
A development shell can be started using:
|
|
```sh
|
|
nix develop
|
|
```
|
|
|
|
## Building
|
|
|
|
To build a Codex you can use:
|
|
```sh
|
|
nix build '.?submodules=1#codex'
|
|
```
|
|
The `?submodules=1` part should eventually not be necessary.
|
|
For more details see:
|
|
https://github.com/NixOS/nix/issues/4423
|
|
|
|
It can be also done without even cloning the repo:
|
|
```sh
|
|
nix build 'git+https://github.com/codex-storage/nim-codex?submodules=1#'
|
|
```
|
|
|
|
## Running
|
|
|
|
```sh
|
|
nix run 'git+https://github.com/codex-storage/nim-codex?submodules=1#''
|
|
```
|