nimbus-eth2/nix
Jakub Sokołowski 4a1a2c8196
add packages to Nix flake config, move to repo root
This way we can actually build and run a node using just:
```sh
nix run 'github:status-im/nimbus-eth2?submodules=1'
```
The `?submodules=1` part should eventually not be necessary.
For more details see:
https://github.com/NixOS/nix/issues/4423

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-06 16:57:23 +02:00
..
README.md add packages to Nix flake config, move to repo root 2024-05-06 16:57:23 +02:00
csources.nix add packages to Nix flake config, move to repo root 2024-05-06 16:57:23 +02:00
default.nix add packages to Nix flake config, move to repo root 2024-05-06 16:57:23 +02:00
nimble.nix add packages to Nix flake config, move to repo root 2024-05-06 16:57:23 +02:00
shell.nix add packages to Nix flake config, move to repo root 2024-05-06 16:57:23 +02:00
tools.nix add packages to Nix flake config, move to repo root 2024-05-06 16:57:23 +02:00
version.nix add packages to Nix flake config, move to repo root 2024-05-06 16:57:23 +02:00

README.md

Usage

Shell

A development shell can be started using:

nix develop

Building

To build a beacon node you can use:

nix build '.?submodules=1#beacon_node'

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 'github:status-im/nimbus-eth2?submodules=1'

Running

nix run 'github:status-im/nimbus-eth2?submodules=1'