From 87097f6cb1193350e7d3a1015f419844af7bd737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Barreteau?= Date: Tue, 5 May 2026 23:54:35 -0400 Subject: [PATCH] buck2: 2026-04-15 -> 2026-07-15 Also remove "unstable-" from the package version, as Buck2 now has proper releases. --- pkgs/by-name/bu/buck2/hashes.json | 22 +++++++++++----------- pkgs/by-name/bu/buck2/package.nix | 8 ++++---- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/pkgs/by-name/bu/buck2/hashes.json b/pkgs/by-name/bu/buck2/hashes.json index 5738dd882710..cbf18a92f293 100644 --- a/pkgs/by-name/bu/buck2/hashes.json +++ b/pkgs/by-name/bu/buck2/hashes.json @@ -1,17 +1,17 @@ { "aarch64-darwin": { - "buck2": "sha256-zBZ2gEPRxyaBYmnRfYfhYDqswqfiXvxYDHrUI92Z1UQ=", - "rust-project": "sha256-K86j0E32w0DUwzpPT0NBUiL3rV4Ze8hzfbKDkpy9JXo=" - }, - "x86_64-linux": { - "buck2": "sha256-IqDsyQ7Omy7QujT85oKrWwyirG7gwfupdxzvRoMRmQs=", - "rust-project": "sha256-iFSko4FTvAVlKUxJE/6FzR6H7V2SryRfEi7nRhfyhxQ=" + "buck2": "sha256-CIysxyxAD6Q4vkBSw2eC9Wsq+GKHqt8T7OXpdy1yRVw=", + "rust-project": "sha256-o5m58wQ9zKkpa5GzgLpcLUV9LpA+n+MxVa/9hH9Tr40=" }, "aarch64-linux": { - "buck2": "sha256-VKV1vltATu3tAPmMiifba7MV9kNFH754FDda6i8cQrU=", - "rust-project": "sha256-oqxHdbNzQn1KHObboAd4/LTbilIJgLqMiWCgHLaPFrc=" + "buck2": "sha256-4jm/cvQKeYfbkCTrbV4yVkL2SWxYnexr5UwQCNJhihk=", + "rust-project": "sha256-vGSOwVETwYqwBhkxlSTDJlVcMfbAIzYwDhEKbqz+6ok=" }, - "version": "2026-04-15", - "preludeGit": "f0896771c4cc1ab8f87e032c5293376c89e5096b", - "preludeFod": "sha256-Ga4q9zzifgFDGx0TbcbBoDN29H3A4s1BZnSwwv9Mix0=" + "x86_64-linux": { + "buck2": "sha256-7MPYB90LD+/xpCNoi9WYJjuDOdIj5oVXiocZZFbBnZU=", + "rust-project": "sha256-de0SbH6cbjdDhcPpDTjxBo5HgQ8yS1eokQYjQrHKIDY=" + }, + "version": "2026-07-15", + "preludeGit": "caed0b8c0ee137c4e5e1f800a5054df151f490c2", + "preludeFod": "sha256-nMHnBf4vQJIxPgarmLPY38b15DFW2FlAQxDCzJgB+w8=" } diff --git a/pkgs/by-name/bu/buck2/package.nix b/pkgs/by-name/bu/buck2/package.nix index 175d05aadc14..3ac1d273c089 100644 --- a/pkgs/by-name/bu/buck2/package.nix +++ b/pkgs/by-name/bu/buck2/package.nix @@ -55,19 +55,19 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "buck2"; - version = "unstable-${buildHashes.version}"; # TODO (aseipp): kill 'unstable' once a non-prerelease is made + version = buildHashes.version; srcs = [ # the platform-specific binary — which is also # zstd-compressed (fetchurl { - url = "https://github.com/facebook/buck2/releases/download/${lib.removePrefix "unstable-" finalAttrs.version}/buck2-${platform-suffix}.zst"; + url = "https://github.com/facebook/buck2/releases/download/${finalAttrs.version}/buck2-${platform-suffix}.zst"; hash = archHashes.buck2; }) # rust-project, which is used to provide IDE integration Buck2 Rust projects, # is part of the official distribution (fetchurl { - url = "https://github.com/facebook/buck2/releases/download/${lib.removePrefix "unstable-" finalAttrs.version}/rust-project-${platform-suffix}.zst"; + url = "https://github.com/facebook/buck2/releases/download/${finalAttrs.version}/rust-project-${platform-suffix}.zst"; hash = archHashes.rust-project; }) ]; @@ -134,7 +134,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Fast, hermetic, multi-language build system"; homepage = "https://buck2.build"; - changelog = "https://github.com/facebook/buck2/releases/tag/${lib.removePrefix "unstable-" finalAttrs.version}"; + changelog = "https://github.com/facebook/buck2/releases/tag/${finalAttrs.version}"; license = with lib.licenses; [ asl20 # or mit