Merge pull request #107967 from bhipple/bugfix/tbb
tbb: fix installPhase bug skipping hooks
This commit is contained in:
commit
ca345350e9
1 changed files with 4 additions and 0 deletions
|
@ -19,10 +19,14 @@ with stdenv.lib; stdenv.mkDerivation rec {
|
||||||
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./glibc-struct-mallinfo.patch;
|
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./glibc-struct-mallinfo.patch;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/lib
|
mkdir -p $out/lib
|
||||||
cp "build/"*release*"/"*${stdenv.hostPlatform.extensions.sharedLibrary}* $out/lib/
|
cp "build/"*release*"/"*${stdenv.hostPlatform.extensions.sharedLibrary}* $out/lib/
|
||||||
mv include $out/
|
mv include $out/
|
||||||
rm $out/include/index.html
|
rm $out/include/index.html
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue