From 2496c495ef93f10a46af3421819cc5583e9db2b8 Mon Sep 17 00:00:00 2001 From: Yureka Date: Wed, 31 Jul 2024 01:04:43 +0200 Subject: [PATCH] tbb_2021_11: fix build on musl the previous substitution resulted in an invalid CMakeLists.txt Change-Id: I9ad37811c76239fa1d0238c71727cda9936939f4 Signed-off-by: Yureka --- pkgs/development/libraries/tbb/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/tbb/default.nix b/pkgs/development/libraries/tbb/default.nix index 3ff04d6bf1ab..c5c4a6275b5b 100644 --- a/pkgs/development/libraries/tbb/default.nix +++ b/pkgs/development/libraries/tbb/default.nix @@ -46,7 +46,7 @@ stdenv.mkDerivation rec { # test/conformance/conformance_resumable_tasks.cpp:37:24: error: ‘suspend’ is not a member of ‘tbb::v1::task’; did you mean ‘tbb::detail::r1::suspend’? postPatch = lib.optionalString stdenv.hostPlatform.isMusl '' substituteInPlace test/CMakeLists.txt \ - --replace 'conformance_resumable_tasks' "" + --replace-fail 'tbb_add_test(SUBDIR conformance NAME conformance_resumable_tasks DEPENDENCIES TBB::tbb)' "" ''; meta = with lib; {