This flake provides an environment and tools to make Bitcoin Core development easy. Add this flake to the local flake registry, then use it with direnv to set up the environment for your local Bitcoin Core directory.
- Nix
- direnv
Clone this repository locally and add the flake to your registry:
nix registry add core-env $PWDReference the registry from direnv by creating a symlink to .envrc in your Bitcoin Core repository:
cd bitcoin
ln -s ~/core-dev-env/.envrc .envrc
direnv allow