Skip to content

Commit

Permalink
erigon: 2.54.0 -> 2.57.0 (nix-community#432)
Browse files Browse the repository at this point in the history
Also disable sandworm explicitly, as libsandworm_capi.so requires
libgmp, which the Go linker fails to find.
  • Loading branch information
catwith1hat authored Jan 25, 2024
1 parent 7fa89d2 commit 26c3b7f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/clients/execution/erigon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,22 @@
}:
buildGoModule rec {
pname = "erigon";
version = "2.54.0";
version = "2.57.0";

src = fetchFromGitHub {
owner = "ledgerwatch";
repo = pname;
rev = "v${version}";
hash = "sha256-1kgbIg/3SvVT83UfwAYUixs1RQk4PP1quiOcI1mzbZ0=";
hash = "sha256-JpTrJK6i+dxFtL6gbqE4M+MtVH1CTqeXFE76JjYEGHg=";
fetchSubmodules = true;
};

vendorHash = "sha256-Gr9mrME8/ZDxp2ORKessNhfguklDf+jC4RSpzLOSBhQ=";
vendorHash = "sha256-zup5iMFLL8nYwJQ1oTyFQVHCcdRHN1jFDVTzHGE7N0E=";
proxyVendor = true;

# Silkworm's .so fails to find libgmp when linking
tags = ["nosilkworm"];

# Build errors in mdbx when format hardening is enabled:
# cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
hardeningDisable = ["format"];
Expand Down

0 comments on commit 26c3b7f

Please sign in to comment.