From 323cd310c3f16da4a577e55187cfda3bc0216cca Mon Sep 17 00:00:00 2001 From: silvanshade Date: Wed, 23 Apr 2025 09:23:50 -0600 Subject: [PATCH] libblake3: 1.8.0 -> 1.8.2 (fixed nix build) (cherry picked from commit e4c1dd71baf134ab416015ff675d55a03c9fdc80) --- pkgs/by-name/li/libblake3/package.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/li/libblake3/package.nix b/pkgs/by-name/li/libblake3/package.nix index 610f33071799..38b3f8c14738 100644 --- a/pkgs/by-name/li/libblake3/package.nix +++ b/pkgs/by-name/li/libblake3/package.nix @@ -10,25 +10,25 @@ stdenv.mkDerivation (finalAttrs: { pname = "libblake3"; - version = "1.8.0"; + version = "1.8.2"; src = fetchFromGitHub { owner = "BLAKE3-team"; repo = "BLAKE3"; tag = finalAttrs.version; - hash = "sha256-Krh0yVNZKL6Mb0McqWTIMNownsgM3MUEX2IP+F/fu+k="; + hash = "sha256-IABVErXWYQFXZcwsFKfQhm3ox7UZUcW5uzVrGwsSp94="; }; sourceRoot = finalAttrs.src.name + "/c"; nativeBuildInputs = [ cmake ]; - buildInputs = - lib.optionals useTBB [ - # 2022.0 crashes on macOS at the moment - tbb_2021_11 - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ (darwinMinVersionHook "10.13") ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ (darwinMinVersionHook "10.13") ]; + + propagatedBuildInputs = lib.optionals useTBB [ + # 2022.0 crashes on macOS at the moment + tbb_2021_11 + ]; cmakeFlags = [ (lib.cmakeBool "BLAKE3_USE_TBB" useTBB)