element-web-unwrapped: unbreak

This indirectly marks element-desktop as insecure. This might not be
desirable. I don't see a comment in jitsi-meet as to why it is
vulnerable in the same way libolm is, so I don't have a way to verify
if jitsi-meet actually is vulerable or not...
This commit is contained in:
Tom van Dijk
2025-09-05 15:49:16 +02:00
parent 5fa5ca491f
commit f05f1abb5e
@@ -55,7 +55,7 @@ stdenv.mkDerivation (
runHook preInstall
cp -R webapp $out
tar --extract --to-stdout --file ${jitsi-meet.src} jitsi-meet/libs/external_api.min.js > $out/jitsi_external_api.min.js
cp ${jitsi-meet}/libs/external_api.min.js $out/jitsi_external_api.min.js
echo "${finalAttrs.version}" > "$out/version"
jq -s '.[0] * $conf' "config.sample.json" --argjson "conf" '${builtins.toJSON noPhoningHome}' > "$out/config.json"