support Reth v2.1.0

This commit is contained in:
The MMGen Project 2026-04-25 14:54:39 +00:00
commit 8583e1f5a2
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
4 changed files with 18 additions and 6 deletions

View file

@ -1,11 +1,23 @@
{
lib,
pkgs,
}:
let
# cargo and rustc packages from 25.11 are out of date,
# so fetch them from a more recent commit:
pinnedPkgs = fetchGit {
url = "https://github.com/NixOS/nixpkgs.git";
# url = /path/to/repo/nixpkgs-116266.git;
rev = "116266f52682e7b975426c66204b3dada19be502";
shallow = true;
};
pkgs = import pinnedPkgs {};
in
pkgs.rustPlatform.buildRustPackage rec {
pname = "reth";
version = "1.11.2";
version = "2.1.0";
src = fetchGit {
url = "https://github.com/paradigmxyz/reth";
@ -14,7 +26,7 @@ pkgs.rustPlatform.buildRustPackage rec {
shallow = true;
};
cargoHash = "sha256-IzqAIgfC9Y9atYxkFhaK09QwTMnrtMtU4MnG9AChwCQ=";
cargoHash = "sha256-//UOHtknfhq33bA3/xzwS0K9FPbn4Tkwx3kkNuluoAM=";
doCheck = false;
doInstallCheck = false;