Skip to content

Commit 81a4664

Browse files
committed
Reflect recent nix build changes in documentation links.
1 parent 1ff05ae commit 81a4664

File tree

3 files changed

+31
-8
lines changed

3 files changed

+31
-8
lines changed

README.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ How to build
4444

4545
Documentation for building the node can be found `here <https://docs.cardano.org/getting-started/installing-the-cardano-node>`_.
4646

47-
Linux Executable
48-
==================
47+
Executables
48+
===========
4949

5050
You can download the latest version of ``cardano-node`` and ``cardano-cli``:
5151

52-
* `linux <https://hydra.iohk.io/job/Cardano/cardano-node/cardano-node-linux/latest-finished>`_
53-
* `win64 <https://hydra.iohk.io/job/Cardano/cardano-node/cardano-node-win64/latest-finished>`_
54-
* `macos <https://hydra.iohk.io/job/Cardano/cardano-node/cardano-node-macos/latest-finished>`_
52+
* `linux <https://hydra.iohk.io/job/Cardano/cardano-node/linux.musl.cardano-node-linux/latest-finished>`_
53+
* `win64 <https://hydra.iohk.io/job/Cardano/cardano-node/linux.windows.cardano-node-win64/latest-finished>`_
54+
* `macos <https://hydra.iohk.io/job/Cardano/cardano-node/macos.cardano-node-macos/latest-finished>`_
5555

5656
Windows Executable
5757
==================
5858

5959
Download
6060
--------
6161

62-
You can download `here <https://hydra.iohk.io/job/Cardano/cardano-node/cardano-node-win64/latest-finished>`_.
62+
You can download `here <https://hydra.iohk.io/job/Cardano/cardano-node/linux.windows.cardano-node-win64/latest-finished>`_.
6363

6464
Instructions
6565
------------
@@ -459,7 +459,7 @@ You can validate Byron era blocks, delegation certificates, txs and update propo
459459
``cabal exec cardano-cli -- validate-cbor --byron-block 21600 --filepath CBOREncodedByronBlockFile``
460460

461461

462-
Native Tokens
462+
Native Tokens
463463
=======================================
464464

465465
Native tokens is a new feature that enables the transacting of multi-assets on Cardano. Native tokens are now supported on mainnet and users can transact with ada, and an unlimited number of user-defined (custom) tokens natively.

doc/getting-started/building-the-node-using-nix.md

+23
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ chmod +x install-nix.sh
99
```
1010
and following the directions.
1111

12+
Then the [Flake][flake] feature of nix (and IFD support) should be enabled:
13+
```
14+
sudo mkdir -p /etc/nix
15+
cat <<EOF | sudo tee /etc/nix/nix.conf
16+
experimental-features = nix-command flakes
17+
allow-import-from-derivation = true
18+
EOF
19+
```
20+
1221
#### IOHK Binary Cache
1322

1423
To improve build speed, it is possible to set up a binary cache maintained by IOHK (**this is
@@ -21,6 +30,8 @@ trusted-public-keys = iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7R
2130
EOF
2231
```
2332

33+
### Building and running with nix
34+
2435
Once Nix is installed, log out and then log back in then:
2536
```
2637
git clone https://github.com/input-output-hk/cardano-node
@@ -43,4 +54,16 @@ Or run directly, eg.:
4354
nix run .#cardano-cli -- version
4455
```
4556

57+
### Developpment environments
58+
59+
A shell environment with pre-compiled, cached, cabal dependencies is available with:
60+
```
61+
nix develop
62+
```
63+
An environment with dependencies compiled with profiling enabled is available with:
64+
```
65+
nix develop .#profiled
66+
```
67+
4668
[nix]: https://nixos.org/nix/
69+
[flake]: https://nixos.wiki/wiki/Flakes

nix/docker/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
## Build Cardano Node + Image
33

4-
https://docs.cardano.org/projects/cardano-node/en/latest/getting-started/building-the-node-using-nix.html
4+
https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/building-the-node-using-nix.md/
55

66
```
77
# Build + Install the cardano node

0 commit comments

Comments
 (0)