jitsi-videobridge: run hooks in installPhase

This commit is contained in:
Milan Pässler 2021-02-13 02:53:31 +01:00 committed by Milan
parent 1684fb7995
commit 5a3e315c29

View file

@ -18,6 +18,7 @@ stdenv.mkDerivation {
buildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
substituteInPlace usr/share/jitsi-videobridge/jvb.sh \
--replace "exec java" "exec ${jre_headless}/bin/java"
@ -30,6 +31,7 @@ stdenv.mkDerivation {
# work around https://github.com/jitsi/jitsi-videobridge/issues/1547
wrapProgram $out/bin/jitsi-videobridge \
--set VIDEOBRIDGE_GC_TYPE G1GC
runHook postInstall
'';
passthru.tests = {