From 66d2101e5c29c893ccf4b9547422b129c9f7a4e7 Mon Sep 17 00:00:00 2001 From: Sophie Date: Thu, 14 Mar 2024 01:20:14 -0700 Subject: [PATCH] Add patch for rust 1.76 --- patches.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches.nix b/patches.nix index 18988baf..e040fe1f 100644 --- a/patches.nix +++ b/patches.nix @@ -336,4 +336,13 @@ in [ rust = pkgs.rust-bin.stable."1.74.0".default; }; } + + # `sway-core` requires Rust 1.76 as of + # c18797fd04f210d6f2f25415536685e63cbd1cc5 due to use of `std::hash::DefaultHasher`. + { + condition = m: m.date >= "2024-03-11"; + patch = m: { + rust = pkgs.rust-bin.stable."1.76.0".default; + }; + } ]