From 224eef4911fe7961e7bb1703a462a14aed9be4e4 Mon Sep 17 00:00:00 2001 From: Yureka Date: Thu, 22 Sep 2022 12:31:28 +0200 Subject: [PATCH] gotify-server.ui: fix build --- pkgs/servers/gotify/ui.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/gotify/ui.nix b/pkgs/servers/gotify/ui.nix index e7350c7d35be..282c865c1541 100644 --- a/pkgs/servers/gotify/ui.nix +++ b/pkgs/servers/gotify/ui.nix @@ -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