From 8c4a8f96cebc8178a38a2fc3d38281bd36aaf356 Mon Sep 17 00:00:00 2001 From: Yuka Date: Tue, 13 Sep 2022 10:01:34 +0200 Subject: [PATCH] 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 --- .../instant-messengers/schildichat/schildichat-web.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix b/pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix index 7041a19684c3..bec90ae5eca2 100644 --- a/pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix +++ b/pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix @@ -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