From a1058d32e931957492cc82a893ff64141d6ee1fa Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 21 Oct 2024 19:28:57 -0400 Subject: [PATCH] turbo: 2.0.12 -> 2.2.3 Changelog: https://github.com/vercel/turborepo/releases/tag/v2.2.3 Diff: https://github.com/vercel/turborepo/compare/v2.0.12...v2.2.3 --- .../tu/turbo-unwrapped/enable-lazy_cell.patch | 12 ------------ pkgs/by-name/tu/turbo-unwrapped/package.nix | 13 ++++--------- 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 pkgs/by-name/tu/turbo-unwrapped/enable-lazy_cell.patch diff --git a/pkgs/by-name/tu/turbo-unwrapped/enable-lazy_cell.patch b/pkgs/by-name/tu/turbo-unwrapped/enable-lazy_cell.patch deleted file mode 100644 index c6e933687411..000000000000 --- a/pkgs/by-name/tu/turbo-unwrapped/enable-lazy_cell.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/crates/turborepo-lib/src/lib.rs b/crates/turborepo-lib/src/lib.rs -index e8d41933da..26b8c7c92f 100644 ---- a/crates/turborepo-lib/src/lib.rs -+++ b/crates/turborepo-lib/src/lib.rs -@@ -2,6 +2,7 @@ - #![feature(box_patterns)] - #![feature(error_generic_member_access)] - #![feature(hash_extract_if)] -+#![feature(lazy_cell)] - #![feature(option_get_or_insert_default)] - #![feature(once_cell_try)] - #![feature(panic_info_message)] diff --git a/pkgs/by-name/tu/turbo-unwrapped/package.nix b/pkgs/by-name/tu/turbo-unwrapped/package.nix index f9228f310cc1..d4c20bb38ba1 100644 --- a/pkgs/by-name/tu/turbo-unwrapped/package.nix +++ b/pkgs/by-name/tu/turbo-unwrapped/package.nix @@ -18,21 +18,16 @@ rustPlatform.buildRustPackage rec { pname = "turbo-unwrapped"; - version = "2.0.12"; + version = "2.2.3"; src = fetchFromGitHub { owner = "vercel"; repo = "turbo"; - rev = "v${version}"; - hash = "sha256-rh9BX8M3Kgu07Pz4G3AM6S9zeK3Bb6CzOpcYo7rQgIw="; + rev = "refs/tags/v${version}"; + hash = "sha256-MDvwitzZVPVjdIVEAV1aKMAVeLSTMM2owH5RSfVg+rU="; }; - patches = [ - # upstream uses nightly where lazy_cell is stable - ./enable-lazy_cell.patch - ]; - - cargoHash = "sha256-oZHSoPrPCUwXSrxEASm4LuYO+XHyNDRRl38Q7U7F/lk="; + cargoHash = "sha256-XBI/eiOyKk80ZDFLD2HCTFYRWvC7qtzQY/zFCmKdKSM="; nativeBuildInputs = [