aboutsummaryrefslogtreecommitdiff
path: root/doc/build-nixos.md
diff options
context:
space:
mode:
authorPatrick Lodder <[email protected]>2021-08-19 22:11:20 +0200
committerPatrick Lodder <[email protected]>2021-08-19 22:11:20 +0200
commitc39bdb9e49ab078f303ae1a2152e8a389fb0fdce (patch)
tree90f4dadfa22eb29b0e14ee897a05bba2e70cd3d7 /doc/build-nixos.md
parentMerge pull request #2458 from patricklodder/1.14.4-disconnect-bad-node-test (diff)
downloaddiscoin-c39bdb9e49ab078f303ae1a2152e8a389fb0fdce.tar.xz
discoin-c39bdb9e49ab078f303ae1a2152e8a389fb0fdce.zip
split off all distro-specific guides off build-unix.md
Diffstat (limited to 'doc/build-nixos.md')
-rw-r--r--doc/build-nixos.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/build-nixos.md b/doc/build-nixos.md
new file mode 100644
index 000000000..b87e30225
--- /dev/null
+++ b/doc/build-nixos.md
@@ -0,0 +1,23 @@
+NixOS build guide
+------------------------------
+This guide lists the steps necessary to setup and build a full GUI distribution
+of the latest changes on NixOS.
+
+Clone and enter the repo:
+
+ $ git clone https://github.com/dogecoin/dogecoin
+ $ cd dogecoin
+
+Enter the `nix-shell` environment with all the Dogecoin dependencies present:
+
+ $ nix-shell ./contrib/nixos/shell.nix
+
+Run the build steps with flags necessary for NixOS:
+
+ $ ./autogen.sh
+ $ ./configure --with-incompatible-bdb --with-boost-libdir="$(nix eval --raw nixpkgs.boost.out)/lib" --with-gui
+ $ make
+
+Start the GUI!
+
+ $ ./src/qt/dogecoin-qt