Skip to content

Commit c08c1d5

Browse files
committed
flake: add binary cache
1 parent b37af3d commit c08c1d5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Install Nix if you haven't already ([instructions](https://nixos.org/download.ht
2929
nix profile install github:dapphub/dapptools#dapp # or ethsign, hevm, seth
3030
```
3131

32+
Nix will offer to use the dapptools binary cache, which will speed up installs,
33+
but requires you to trust both us and the Cachix infrastructure.
34+
3235
### Legacy
3336

3437
```

flake.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
ethereum-hevm.url = "github:ethereum/hevm";
88
};
99

10+
nixConfig = {
11+
extra-substituters = [ "https://dapp.cachix.org" ];
12+
extra-substituters-public-keys = [ "dapp.cachix.org-1:9GJt9Ja8IQwR7YW/aF0QvCa6OmjGmsKoZIist0dG+Rs=" ];
13+
};
14+
1015
outputs = { self, nixpkgs, ethereum-hevm }:
1116
let
1217
supportedSystems = [

0 commit comments

Comments
 (0)