about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers
diff options
context:
space:
mode:
authorFlorian <florian.brandes@posteo.de>2022-09-12 21:08:21 +0200
committerGitHub <noreply@github.com>2022-09-12 21:08:21 +0200
commit2e3e0081e5e843599aaa8f7128d2a139bda7dbca (patch)
tree7f45dce2e15e9224709c8a4a4bf2f6ab858a07dc /pkgs/applications/networking/instant-messengers
parent4754ad06b4d5fdee4ffee4de84b28cc67fd25bf6 (diff)
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>
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r--pkgs/applications/networking/instant-messengers/element/element-web.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/element/element-web.nix b/pkgs/applications/networking/instant-messengers/element/element-web.nix
index 5254c07223eee..92130d3099020 100644
--- a/pkgs/applications/networking/instant-messengers/element/element-web.nix
+++ b/pkgs/applications/networking/instant-messengers/element/element-web.nix
@@ -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