Merge pull request #192416 from yu-re-ka/gotify-ui

gotify-server.ui: fix build
This commit is contained in:
superherointj 2022-09-22 14:19:42 -03:00 committed by GitHub
commit 5c1f7fbac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,7 @@ yarn2nix-moretea.mkYarnPackage rec {
buildPhase = ''
export HOME=$(mktemp -d)
export WRITABLE_NODE_MODULES="$(pwd)/tmp"
export NODE_OPTIONS=--openssl-legacy-provider
mkdir -p "$WRITABLE_NODE_MODULES"
# react-scripts requires a writable node_modules/.cache, so we have to copy the symlink's contents back