matrix-appservice-discord: fix build by pinning nodejs_20 (#410646)
This commit is contained in:
@@ -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";
|
||||
@@ -101,7 +103,7 @@ mkYarnPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "Bridge between Matrix and Discord";
|
||||
homepage = "https://github.com/Half-Shot/matrix-appservice-discord";
|
||||
homepage = "https://github.com/matrix-org/matrix-appservice-discord";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ euxane ];
|
||||
platforms = lib.platforms.linux;
|
||||
|
||||
Reference in New Issue
Block a user