From ea11ef98d5e9450ae0765a7f2fe53d6081bf748c Mon Sep 17 00:00:00 2001 From: qbisi Date: Sat, 27 Dec 2025 00:53:43 +0800 Subject: [PATCH 1/2] c-blosc: fetchpatch with full index --- pkgs/development/libraries/c-blosc/1.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/c-blosc/1.nix b/pkgs/development/libraries/c-blosc/1.nix index 176fef8f6077..26192b5493c2 100644 --- a/pkgs/development/libraries/c-blosc/1.nix +++ b/pkgs/development/libraries/c-blosc/1.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: { patches = [ # backport patch for cmake 4 compatibility (fetchpatch { - url = "https://github.com/Blosc/c-blosc/commit/051b9d2cb9437e375dead8574f66d80ebce47bee.patch"; + url = "https://github.com/Blosc/c-blosc/commit/051b9d2cb9437e375dead8574f66d80ebce47bee.patch?full_index=1"; hash = "sha256-90dUd8KQqq+uVbngfoKF45rmFxbLVVgZjg0Xfc/vpcc="; }) ]; From 22d8ba18610aa5343956ca081e155ce2232c6356 Mon Sep 17 00:00:00 2001 From: qbisi Date: Sat, 27 Dec 2025 00:56:06 +0800 Subject: [PATCH 2/2] c-blosc: fix build with gcc 15 on aarch64-linux --- pkgs/development/libraries/c-blosc/1.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/c-blosc/1.nix b/pkgs/development/libraries/c-blosc/1.nix index 26192b5493c2..a84969e2a80b 100644 --- a/pkgs/development/libraries/c-blosc/1.nix +++ b/pkgs/development/libraries/c-blosc/1.nix @@ -30,6 +30,11 @@ stdenv.mkDerivation (finalAttrs: { url = "https://github.com/Blosc/c-blosc/commit/051b9d2cb9437e375dead8574f66d80ebce47bee.patch?full_index=1"; hash = "sha256-90dUd8KQqq+uVbngfoKF45rmFxbLVVgZjg0Xfc/vpcc="; }) + # backport patch for gcc 15 compatibility + (fetchpatch { + url = "https://github.com/Blosc/c-blosc/commit/774f6a0ebaa0c617f7f13ccf6bc89d17eba04654.patch?full_index=1"; + hash = "sha256-C5nwMXjmlxkBvN1/4fuGTgFANqTD/+ikxYPLo1fwm6Q="; + }) ]; # https://github.com/NixOS/nixpkgs/issues/144170