zigbee2mqtt: transpile typescript in post install hook
This commit is contained in:
parent
3507c87774
commit
6d1ca973c7
@ -17,6 +17,10 @@ package.override rec {
|
||||
|
||||
passthru.tests.zigbee2mqtt = nixosTests.zigbee2mqtt;
|
||||
|
||||
postInstall = ''
|
||||
npm run build
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "Zigbee to MQTT bridge using zigbee-shepherd";
|
||||
license = licenses.gpl3;
|
||||
|
@ -18,6 +18,7 @@ curl -LO $ZIGBEE2MQTT/npm-shrinkwrap.json
|
||||
node2nix \
|
||||
--composition node.nix \
|
||||
--lock npm-shrinkwrap.json \
|
||||
--development \
|
||||
--no-copy-node-env \
|
||||
--node-env ../../development/node-packages/node-env.nix \
|
||||
--nodejs-14 \
|
||||
|
Loading…
Reference in New Issue
Block a user