element-web: allow older openssl codecs (#190950)

fix build error on current staging-next due to openssl upgrade

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian 2022-09-12 21:08:21 +02:00 committed by GitHub
parent 4754ad06b4
commit 2e3e0081e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,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
fixup_yarn_lock yarn.lock