marcinja / bitcoin.env

A Nix shell to build the bitcoin project

Home Page:https://github.com/bitcoin/bitcoin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

Nix

These instructions should assist in setting up a NixOS shell, capable of building the bitcoin project.

  • git clone bitcoin
  • copy or symlink default.nix in this repository into the bitcoin directory
  • nix-shell 😉 inside the bitcoin directory

Docker

These instructions should assist in setting up a Docker environment within which one may mount the bitcoin project in order to build it.

  • build docker image with make image
  • start docker container with BITCOIN=/path/to/bitcoin/repository make shell

Inside the shell, one may subsequently run

make clean
./autogen.sh
./configure
make

to build the bitcoin code.

About

A Nix shell to build the bitcoin project

https://github.com/bitcoin/bitcoin


Languages

Language:Nix 56.3%Language:Dockerfile 33.4%Language:Makefile 10.2%