aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZach Latta <[email protected]>2021-08-03 14:46:51 -0400
committerZach Latta <[email protected]>2021-08-03 14:46:51 -0400
commit5c6017aad4b14e53fdc5cc6b210b04059cba39f5 (patch)
tree56f264b65f2ab0250da4d30dd9c84c8d8e2dce06 /doc
parentAdd build and setup instructions for NixOS (diff)
downloaddiscoin-5c6017aad4b14e53fdc5cc6b210b04059cba39f5.tar.xz
discoin-5c6017aad4b14e53fdc5cc6b210b04059cba39f5.zip
Move shell.nix contents into separate file
Diffstat (limited to 'doc')
-rw-r--r--doc/build-unix.md24
1 files changed, 1 insertions, 23 deletions
diff --git a/doc/build-unix.md b/doc/build-unix.md
index e0fa510a6..3126b4355 100644
--- a/doc/build-unix.md
+++ b/doc/build-unix.md
@@ -294,31 +294,9 @@ Clone and enter the repo:
$ git clone https://github.com/dogecoin/dogecoin
$ cd dogecoin
-Creating a file in the root of the repository called `shell.nix` with the following contents:
-
-```nix
-{ pkgs ? import <nixpkgs> {} }:
- with pkgs; mkShell {
- nativeBuildInputs = [
- pkg-config
- autoreconfHook
- openssl
- db5
- util-linux
- boost
- zlib
- libevent
- miniupnpc
- qt4
- protobuf
- qrencode
- ];
-}
-```
-
Enter the `nix-shell` environment with all the Dogecoin dependencies present:
- $ nix-shell
+ $ nix-shell ./contrib/nixos/shell.nix
Run the build steps with flags necessary for NixOS: