mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
mastodon: Fix compatibility for openssl 3
https://github.com/mastodon/mastodon/issues/17924
This commit is contained in:
parent
81231a82de
commit
65f1654de2
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue