From b5befb85475250e7849341cc2d10233415c2a528 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 14 Feb 2025 10:00:07 +0100 Subject: [PATCH] llvm_18: fix hash of glibc fix Closes #381739 As mentioned in this ticket, `fetchpatch2` doesn't seem stable without `?full_index=1`. --- pkgs/development/compilers/llvm/common/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/llvm/common/default.nix b/pkgs/development/compilers/llvm/common/default.nix index a40ffd4044b4..f37539b339dc 100644 --- a/pkgs/development/compilers/llvm/common/default.nix +++ b/pkgs/development/compilers/llvm/common/default.nix @@ -494,9 +494,9 @@ let (lib.versionAtLeast metadata.release_version "17" && lib.versionOlder metadata.release_version "19") [ # Fixes test-suite on glibc 2.40 (https://github.com/llvm/llvm-project/pull/100804) - (fetchpatch2 { + (fetchpatch { url = "https://github.com/llvm/llvm-project/commit/1e8df9e85a1ff213e5868bd822877695f27504ad.patch"; - hash = "sha256-EX+PYGicK73lsL/J0kSZ4S5y1/NHIclBddhsnV6NPPI="; + hash = "sha256-mvBlG2RxpZPFnPI7jvCMz+Fc8JuM15Ye3th1FVZMizE="; stripLen = 1; }) ]