Merge pull request #193590 from erosennin/jitsi-videobridge-openssl

This commit is contained in:
Sandro 2022-11-13 01:34:42 +01:00 committed by GitHub
commit 4f44b97d01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, makeWrapper, dpkg, jre_headless, nixosTests }:
{ lib, stdenv, fetchurl, makeWrapper, dpkg, jre_headless, openssl, nixosTests }:
let
pname = "jitsi-videobridge2";
@ -28,9 +28,11 @@ stdenv.mkDerivation {
mv usr/share/jitsi-videobridge/* $out/share/jitsi-videobridge/
ln -s $out/share/jitsi-videobridge/jvb.sh $out/bin/jitsi-videobridge
# work around https://github.com/jitsi/jitsi-videobridge/issues/1547
# - work around https://github.com/jitsi/jitsi-videobridge/issues/1547
# - make libcrypto.so available at runtime for hardware AES
wrapProgram $out/bin/jitsi-videobridge \
--set VIDEOBRIDGE_GC_TYPE G1GC
--set VIDEOBRIDGE_GC_TYPE G1GC \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ openssl ]}
runHook postInstall
'';