tbb: fix installPhase bug skipping hooks
If you have a pre/post install hook in an overlay, it currently does not run.
This commit is contained in:
parent
58f3c19b78
commit
6d216d585c
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;
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue