From 5a3e315c29681c4f03cece931dc0da319d66c81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20P=C3=A4ssler?= Date: Sat, 13 Feb 2021 02:53:31 +0100 Subject: [PATCH] jitsi-videobridge: run hooks in installPhase --- pkgs/servers/jitsi-videobridge/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/jitsi-videobridge/default.nix b/pkgs/servers/jitsi-videobridge/default.nix index d9dd84c7cfb8..f1e9224a7a20 100644 --- a/pkgs/servers/jitsi-videobridge/default.nix +++ b/pkgs/servers/jitsi-videobridge/default.nix @@ -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 = {