forked from holochain-gym/developer-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
37 lines (33 loc) · 1023 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
holonixPath ? builtins.fetchTarball { url = "https://github.com/holochain/holonix/archive/48a75e79b1713334ab0086767a214e5b1619d38d.tar.gz"; }
}:
let
holonix = import (holonixPath) {
include = {
# making this explicit even though it's the default
holochainBinaries = true;
};
holochainVersionId = "custom";
holochainVersion = {
rev = "holochain-0.0.109";
sha256 = "1rwss1y8cd52ccd0875pfpbw6v518vcry3hjc1lja69x2g2x12qb";
cargoSha256 = "08a72d7nqpakml657z9vla739cbg8y046av4pwisdgj1ykyzyi60";
bins = {
holochain = "holochain";
hc = "hc";
kitsune-p2p-proxy = "kitsune_p2p/proxy";
};
lairKeystoreHashes = {
sha256 = "12n1h94b1r410lbdg4waj5jsx3rafscnw5qnhz3ky98lkdc1mnl3";
cargoSha256 = "0axr1b2hc0hhik0vrs6sm412cfndk358grfnax9wv4vdpm8bq33m";
};
};
};
nixpkgs = holonix.pkgs;
in nixpkgs.mkShell {
inputsFrom = [ holonix.main ];
buildInputs = with nixpkgs; [
binaryen
nodejs-16_x
];
}