doc: Nix{,OS} build instructions

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin 2018-01-22 14:45:00 -08:00 committed by Rusty Russell
parent 17aaa1d235
commit 8aee38162c

View File

@ -86,3 +86,16 @@ Running lightning:
$ ./lightningd/lightningd &
$ ./cli/lightning-cli help
```
To Build on Nix{,OS}
--------------------
Untested on MacOS/Windows/Other Linux. Works on NixOS.
Use nix-shell launch a shell with a full clightning dev environment:
```
$ nix-shell -Q -p gdb sqlite autoconf git clang libtool gmp sqlite autoconf \
autogen automake 'python3.withPackages (p: [p.bitcoinlib])' \
valgrind asciidoc --run make
```