mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-05 06:53:06 +00:00
configObject option is used to define the configuration which is then dumped to a toml file and is used as input to codex binary(conditionally). Signed-off-by: markoburcul <marko@status.im>
Usage
Shell
A development shell can be started using:
nix develop
Building
To build a Codex you can use:
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:
nix build 'git+https://github.com/codex-storage/nim-codex?submodules=1#'
Running
nix run 'git+https://github.com/codex-storage/nim-codex?submodules=1#''