mirror of
https://github.com/logos-messaging/nim-chat-poc.git
synced 2026-07-02 22:49:30 +00:00
fix(nix): add stateless librln hashes for linux + x86_64-darwin
rlnHash only had aarch64-darwin, so every other platform hit the "add stateless librln hash" throw (e.g. x86_64-linux on Ubuntu). The rlnTriplet map already covers all four platforms; add the matching zerokit v2.0.2 stateless-rln asset hashes (verified against the release assets; the linux tarballs ship librln.a, which the linux link path uses).
This commit is contained in:
parent
5a6a8c210f
commit
c6a35bf06e
@ -41,6 +41,9 @@ let
|
||||
}.${stdenv.hostPlatform.system} or (throw "no stateless librln triplet for ${stdenv.hostPlatform.system}");
|
||||
rlnHash = {
|
||||
aarch64-darwin = "sha256-f2YppkPsKFdN00j+IY8fpvsebWTIb9lW/V1/vOTiVKU=";
|
||||
x86_64-darwin = "sha256-ZaHP5CApN66FYY7jxwOmGcF9kJR78Fng3k1qE2W08Mk=";
|
||||
x86_64-linux = "sha256-qbrUdaetYKFhjzxUP/QcwD3JHWJ8qk/tCMK3yXceIAk=";
|
||||
aarch64-linux = "sha256-s4bWrmCcNTWHNyJwV73ilWNp58ZdAVG+TAgtWN1cTQs=";
|
||||
}.${stdenv.hostPlatform.system} or (throw "add stateless librln hash for ${stdenv.hostPlatform.system}");
|
||||
rlnTarball = fetchurl {
|
||||
url = "https://github.com/vacp2p/zerokit/releases/download/v2.0.2/${rlnTriplet}-stateless-rln.tar.gz";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user