about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/schildichat
diff options
context:
space:
mode:
authorYuka <yuka@yuka.dev>2022-09-13 10:01:34 +0200
committerGitHub <noreply@github.com>2022-09-13 10:01:34 +0200
commit8c4a8f96cebc8178a38a2fc3d38281bd36aaf356 (patch)
tree5c68c695b6bc6831a9d5dc062c75300b49b279fb /pkgs/applications/networking/instant-messengers/schildichat
parent2772b97081dce5d33cbba768595a50c98b7b8b53 (diff)
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
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/schildichat')
-rw-r--r--pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix b/pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix
index 7041a19684c30..bec90ae5eca2f 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