From 329fbac4045d252160f4b068d1956933f816419d Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Fri, 18 Aug 2023 16:10:57 +0200 Subject: [PATCH] docs/install: don't enter examples shell while creating node config 1. This simplifies the setup 2. Fixes a bug where a user skipped step 4.6 (run `nix-shell`) which he deemed superfluous because a Nix shell was already active. This caused an error during deployment. --- docs/install.md | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/docs/install.md b/docs/install.md index a9f2a96..b398c56 100644 --- a/docs/install.md +++ b/docs/install.md @@ -210,31 +210,21 @@ You can also build Nix from source by following the instructions at https://nixo 1. Clone this project ``` - cd git clone https://github.com/fort-nix/nix-bitcoin ``` -2. Obtain the hash of the latest nix-bitcoin release +2. Create a new directory for your nix-bitcoin node config and copy initial files from nix-bitcoin ``` - cd nix-bitcoin/examples - nix-shell - ``` - - This will download the nix-bitcoin dependencies and might take a while without giving an output. - Now in the nix-shell run - - ``` - fetch-release > nix-bitcoin-release.nix - ``` - -3. Create a new directory for your nix-bitcoin deployment and copy initial files from nix-bitcoin - - ``` - cd ../../ mkdir nix-bitcoin-node cd nix-bitcoin-node - cp -r ../nix-bitcoin/examples/{nix-bitcoin-release.nix,configuration.nix,shell.nix,krops,.gitignore} . + cp -r ../nix-bitcoin/examples/{configuration.nix,shell.nix,krops,.gitignore} . + ``` + +3. Obtain the hash of the latest nix-bitcoin release + + ``` + ../nix-bitcoin/helper/fetch-release > nix-bitcoin-release.nix ``` #### Optional: Specify the system of your node