From 8c516a0eef907ef1db093b52464611cb996c50ef Mon Sep 17 00:00:00 2001 From: Sophie <47993817+sdankel@users.noreply.github.com> Date: Fri, 3 Jan 2025 14:22:24 -0800 Subject: [PATCH] fix: patch rust v1.81 --- patches.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/patches.nix b/patches.nix index 941833bb..34dfcdd6 100644 --- a/patches.nix +++ b/patches.nix @@ -336,4 +336,14 @@ in [ }; }; } + + # `fuel-core` requires Rust 1.81 as of v0.40.2. + { + condition = m: m.date >= "2024-12-30"; + patch = m: { + rust = pkgs.rust-bin.stable."1.81.0".default.override { + targets = ["wasm32-unknown-unknown"]; + }; + }; + } ]