mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
jitsi-videobridge: run hooks in installPhase
This commit is contained in:
parent
1684fb7995
commit
5a3e315c29
1 changed files with 2 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue