Merge pull request #107967 from bhipple/bugfix/tbb

tbb: fix installPhase bug skipping hooks
This commit is contained in:
Benjamin Hipple 2021-01-11 21:48:52 -05:00 committed by GitHub
commit ca345350e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,10 +19,14 @@ with stdenv.lib; stdenv.mkDerivation rec {
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./glibc-struct-mallinfo.patch;
installPhase = ''
runHook preInstall
mkdir -p $out/lib
cp "build/"*release*"/"*${stdenv.hostPlatform.extensions.sharedLibrary}* $out/lib/
mv include $out/
rm $out/include/index.html
runHook postInstall
'';
enableParallelBuilding = true;