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

docs: update readme with Determinate Nix Installer #3239

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ Daedalus - Cryptocurrency Wallet

[Nix](https://nixos.org/nix/) is needed to run Daedalus in `nix develop` shell.

1. Install nix: `sh <(curl -L https://nixos.org/nix/install)`
1. Install nix using [Determinate Nix Installer](https://github.com/DeterminateSystems/nix-installer)
```
$ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
sh -s -- install
Copy link
Member

@michalrus michalrus Nov 13, 2024

Choose a reason for hiding this comment

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

Maybe suggest that the user sets our binary cache from the very beginning? Then it's a single-command setup.

So the command would be:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
  sh -s -- install \
  --extra-conf "substituters = https://cache.nixos.org/ https://cache.iog.io/" \
  --extra-conf "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="

Copy link
Member

Choose a reason for hiding this comment

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

@przemyslaw-wlodek wants to keep the rest of the instruction intact (Slack).

```
2. Employ the signed IOHK binary cache:
```bash
$ sudo mkdir -p /etc/nix
Expand Down