Merge pull request #220246 from kirillrdy/plausible

This commit is contained in:
Sandro
2023-04-11 23:51:26 +02:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
@@ -49,12 +49,16 @@ beamPackages.mixRelease {
nativeBuildInputs = [ nodejs ];
# https://github.com/whitfin/cachex/issues/205
stripDebug = false;
passthru = {
tests = { inherit (nixosTests) plausible; };
updateScript = ./update.sh;
};
postBuild = ''
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
npm run deploy --prefix ./assets
+1 -1
View File
@@ -3581,7 +3581,7 @@ with pkgs;
play-with-mpv = callPackage ../tools/video/play-with-mpv { };
plausible = callPackage ../servers/web-apps/plausible { };
plausible = callPackage ../servers/web-apps/plausible { nodejs = nodejs-16_x; };
pam-reattach = callPackage ../os-specific/darwin/pam-reattach { };