schildichat-web: allow older openssl codecs (#190964)

Fix build error due to openssl upgrade

This applies the fix from #190950 to schildichat, as it suffers from the
same issue
This commit is contained in:
Yuka 2022-09-13 10:01:34 +02:00 committed by GitHub
parent 2772b97081
commit 8c4a8f96ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,11 @@ in stdenv.mkDerivation rec {
runHook preConfigure
export HOME=$PWD/tmp
# with the update of openssl3, some key ciphers are not supported anymore
# this flag will allow those codecs again as a workaround
# see https://medium.com/the-node-js-collection/node-js-17-is-here-8dba1e14e382#5f07
# and https://github.com/vector-im/element-web/issues/21043
export NODE_OPTIONS=--openssl-legacy-provider
mkdir -p $HOME
pushd element-web