diff --git a/pkgs/tools/admin/synapse-admin/default.nix b/pkgs/tools/admin/synapse-admin/default.nix index 098cc57d97e7..2cde74ba4532 100644 --- a/pkgs/tools/admin/synapse-admin/default.nix +++ b/pkgs/tools/admin/synapse-admin/default.nix @@ -23,6 +23,9 @@ mkYarnPackage rec { NODE_ENV = "production"; ${if baseUrl != null then "REACT_APP_SERVER" else null} = baseUrl; + # error:0308010C:digital envelope routines::unsupported + NODE_OPTIONS = "--openssl-legacy-provider"; + buildPhase = '' runHook preBuild