mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 22:36:01 +00:00
Jakub
8c621b9ae6
* ci: bump status-jenkins-lib version, don't use a branch Also renamed `Jenkinsfile.nix` to `nix.Jenkinsfile` because the filename makes no sense. But left a symlink temporarily to not break things. Signed-off-by: Jakub Sokołowski <jakub@status.im> * nix: fix hash for Nim compiler checksums repo Signed-off-by: Jakub Sokołowski <jakub@status.im> * nix: do not create variable name conflicts Signed-off-by: Jakub Sokołowski <jakub@status.im> --------- 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'
Running
nix run 'github:status-im/nimbus-eth2?submodules=1'