Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update building-the-node-using-nix.md #4613

Merged
merged 1 commit into from
Nov 8, 2022
Merged

Update building-the-node-using-nix.md #4613

merged 1 commit into from
Nov 8, 2022

Conversation

CarlosLopezDeLara
Copy link
Contributor

Build the cardano-node executable. No default configuration.

@@ -44,6 +44,10 @@ or run in in one go:
nix run github:input-output-hk/cardano-node#mainnet/node
```

To build the cardano-node executable:
Copy link
Contributor

@deepfire deepfire Nov 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have reworded this to underscore the difference -- something like:

If you only want to build just the cardano-node executable, without the configuration bundle:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And it doesn't help that line 35 above doesn't really explain what it achieves.

We could reword it too, from:

Once Nix is installed, log out and then log back in.

After that you can build the full node package with Mainnet configuration as follows:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amended the commit with your suggestions, thanks Serge!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There goes another amendment! =)

@CarlosLopezDeLara CarlosLopezDeLara force-pushed the build-nix-doc branch 3 times, most recently from 2a8ded4 to bfbfd82 Compare November 4, 2022 07:58
@@ -24,15 +24,16 @@ To improve build speed, it is possible to set up a binary cache maintained by IO
optional**):
```
sudo mkdir -p /etc/nix
cat <<EOF | sudo tee /etc/nix/nix.conf
cat <<EOF | sudo tee -a /etc/nix/nix.conf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we fix the caches in this file?;we no longer use iohk.cachix.org. and the substituter should be cache.iog.io now (but the key still has hydra in the name)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I think I understood correctly. I updated the commit.

Build the cardano-node executable. No default configuration.
@disassembler
Copy link
Contributor

bors r+

iohk-bors bot added a commit that referenced this pull request Nov 7, 2022
4613: Update building-the-node-using-nix.md r=disassembler a=CarlosLopezDeLara

Build the cardano-node executable. No default configuration.

Co-authored-by: CarlosLopezDeLara <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 7, 2022

Timed out.

@CarlosLopezDeLara
Copy link
Contributor Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 8, 2022

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] - Can't build standalone cardano-node with Nix
5 participants