From a14e2b4b1631efa899f0487231b0706937b02ad7 Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Sun, 14 May 2023 17:18:34 +1000 Subject: [PATCH] plausible: unbreak with latest nodejs --- pkgs/servers/web-apps/plausible/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/plausible/default.nix b/pkgs/servers/web-apps/plausible/default.nix index f9371bd916fb..d57bcfc0190a 100644 --- a/pkgs/servers/web-apps/plausible/default.nix +++ b/pkgs/servers/web-apps/plausible/default.nix @@ -61,6 +61,7 @@ beamPackages.mixRelease { export HOME=$TMPDIR export NODE_OPTIONS=--openssl-legacy-provider # required for webpack compatibility with OpenSSL 3 (https://github.com/webpack/webpack/issues/14532) ln -sf ${yarnDeps}/node_modules assets/node_modules + substituteInPlace assets/package.json --replace '$(npm bin)/' 'npx ' npm run deploy --prefix ./assets # for external task you need a workaround for the no deps check flag @@ -70,8 +71,6 @@ beamPackages.mixRelease { meta = with lib; { license = licenses.agpl3Plus; - # broken since the deprecation of nodejs_16 - broken = true; homepage = "https://plausible.io/"; description = " Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics."; maintainers = with maintainers; [ ];