diff options
author | Rhys Davies <rhys@memes.nz> | 2022-10-16 20:52:14 +1300 |
---|---|---|
committer | Rhys Davies <rhys@memes.nz> | 2022-10-16 21:24:18 +1300 |
commit | 8eda146bb2f723e72b28c73c7097664f62e0ddf5 (patch) | |
tree | b1f6d5e43ebf07beda034fa9b192b047f8cf2448 /pkgs/servers/matrix-synapse | |
parent | fab6d13fe1287005f0e7f874d827b733372e72db (diff) |
matrix-appservice-irc: Compile typescript
Signed-off-by: Rhys Davies <rhys@memes.nz>
Diffstat (limited to 'pkgs/servers/matrix-synapse')
-rw-r--r-- | pkgs/servers/matrix-synapse/matrix-appservice-irc/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/matrix-synapse/matrix-appservice-irc/default.nix b/pkgs/servers/matrix-synapse/matrix-appservice-irc/default.nix index d76846bd2c4ac..f8b0711f10bc4 100644 --- a/pkgs/servers/matrix-synapse/matrix-appservice-irc/default.nix +++ b/pkgs/servers/matrix-synapse/matrix-appservice-irc/default.nix @@ -24,6 +24,9 @@ ourNodePackages.package.override { dontAutoPatchelf = true; 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" ''; |