@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, compiler ? if stdenv.cc.isClang then "clang" else null, stdver ? null }:
1+{ stdenv, fetchFromGitHub, fixDarwinDylibNames, compiler ? if stdenv.cc.isClang then "clang" else null, stdver ? null }:
22
33with stdenv.lib; stdenv.mkDerivation rec {
44 pname = "tbb";
@@ -11,6 +11,8 @@ with stdenv.lib; stdenv.mkDerivation rec {
1111 sha256 = "1a39nflw7b2n51jfp3fdprnkpgzaspzww1dckfvaigflfli9s8rj";
1212 };
1313
14+ nativeBuildInputs = optional stdenv.isDarwin fixDarwinDylibNames;
15+
1416 makeFlags = optional (compiler != null) "compiler=${compiler}"
1517 ++ optional (stdver != null) "stdver=${stdver}";
1618