plausible: older npm fixup, darwin build, strip causes cachex to fail

This commit is contained in:
Kirill Radzikhovskyy
2023-04-10 20:26:25 +10:00
parent 32e724247c
commit d7ad5580d7
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
@@ -3573,7 +3573,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 { };