mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-05 11:13:54 +00:00
Jakub
62e57f565b
This should result in a human-readable error when `?submodules=1#` is not appended to the project URL as the README explains: ``` > nix build '.' error: Unable to build without submodules. Append '?submodules=1#' to the URL. > nix build '.?submodules=1#' ``` Signed-off-by: Jakub Sokołowski <jakub@status.im>
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#'
The trailing #
is required due to URI parsing bug in Nix.
Running
nix run 'github:status-im/nimbus-eth2?submodules=1#'