From 1a10762525335eb68ca7222907dc1ed17161411d Mon Sep 17 00:00:00 2001 From: Kaya Gokalp Date: Mon, 6 Jan 2025 22:31:42 +0300 Subject: [PATCH] fix: patch rust version to 1.81 as of 2024-01-01 --- patches.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/patches.nix b/patches.nix index 941833bb..824dc8a9 100644 --- a/patches.nix +++ b/patches.nix @@ -336,4 +336,14 @@ in [ }; }; } + + # `fuel-core` requires Rust 1.81 as of ~2025-01-01 due to the use of `pprof2@0.13.1`. + { + condition = m: m.date >= "2024-01-01"; + patch = m: { + rust = pkgs.rust-bin.stable."1.81.0".default.override { + targets = ["wasm32-unknown-unknown"]; + }; + }; + } ]