From ad036f2982be319c29a2aa37b0368329d8fca4c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Dele=C5=84kec?= Date: Fri, 19 Sep 2025 08:49:21 +0100 Subject: [PATCH] onetbb: fix on exotic platforms with clang Followup to both #444246 and #442996. This adds the patch that applies the same fix for clang based builds. --- pkgs/by-name/on/onetbb/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/on/onetbb/package.nix b/pkgs/by-name/on/onetbb/package.nix index 8a2ad08ed380..6cebaf75422c 100644 --- a/pkgs/by-name/on/onetbb/package.nix +++ b/pkgs/by-name/on/onetbb/package.nix @@ -40,10 +40,15 @@ stdenv.mkDerivation (finalAttrs: { # Only enable fcf-protection on x86 based processors # + # (fetchpatch { url = "https://github.com/uxlfoundation/oneTBB/commit/65d46656f56200a7e89168824c4dbe4943421ff9.patch?full_index=1"; hash = "sha256-hhHDuvUsWSqs7AJ5smDYUP1yYZmjV2VISBeKHcFAfG4="; }) + (fetchpatch { + url = "https://github.com/uxlfoundation/oneTBB/commit/e57411968661ab1205322ba1c84fc1cd90a306c6.patch"; + hash = "sha256-PFixW4lYqA5oy4LSwewvxgJbjVKJceRHnp8mgW9zBF0="; + }) ]; nativeBuildInputs = [