Merge pull request #196253 from rhysmdnz/matrix-appservice-irc-typescript

matrix-appservice-irc: Compile typescript
This commit is contained in:
Guillaume Girol 2022-11-04 17:25:53 +00:00 committed by GitHub
commit a00a5b484f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,9 @@ ourNodePackages.package.override {
'';
postInstall = ''
# Compile typescript
npm run build
makeWrapper '${nodejs}/bin/node' "$out/bin/matrix-appservice-irc" \
--add-flags "$out/lib/node_modules/matrix-appservice-irc/app.js"
@ -39,7 +42,7 @@ ourNodePackages.package.override {
meta = with lib; {
description = "Node.js IRC bridge for Matrix";
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ rhysmdnz ];
homepage = "https://github.com/matrix-org/matrix-appservice-irc";
license = licenses.asl20;
platforms = platforms.linux;