mastodon: Fix compatibility for openssl 3

https://github.com/mastodon/mastodon/issues/17924
This commit is contained in:
Robert Gerus 2022-09-25 20:39:15 +02:00 committed by Kerstin
parent 81231a82de
commit 65f1654de2

View file

@ -52,6 +52,9 @@ stdenv.mkDerivation rec {
buildPhase = ''
export HOME=$PWD
# This option is needed for openssl-3 compatibility
# Otherwise we encounter this upstream issue: https://github.com/mastodon/mastodon/issues/17924
export NODE_OPTIONS=--openssl-legacy-provider
fixup_yarn_lock ~/yarn.lock
yarn config --offline set yarn-offline-mirror ${yarnOfflineCache}
yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts --no-progress