plausible: older npm fixup, darwin build, strip causes cachex to fail
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user