matrix-appservice-discord: fix build by pinning nodejs_20

Build is failing with newer versions; From upstream's readme:

    The bridge supports any version of Node.js between v18.X - v20.X.
This commit is contained in:
euxane
2025-05-25 00:28:35 +02:00
parent 4684fd6b0c
commit 02b305e083
@@ -7,11 +7,12 @@
makeWrapper,
removeReferencesTo,
python3,
nodejs,
nodejs_20,
matrix-sdk-crypto-nodejs,
}:
let
nodejs = nodejs_20; # only supports nodejs v18.X - v20.X
pin = lib.importJSON ./pin.json;
nodeSources = srcOnly nodejs;
@@ -19,6 +20,7 @@ in
mkYarnPackage rec {
pname = "matrix-appservice-discord";
inherit (pin) version;
inherit nodejs;
src = fetchFromGitHub {
owner = "matrix-org";