diff options
Diffstat (limited to 'pkgs/servers/zigbee2mqtt')
-rw-r--r-- | pkgs/servers/zigbee2mqtt/default.nix | 4 | ||||
-rwxr-xr-x | pkgs/servers/zigbee2mqtt/update.sh | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/zigbee2mqtt/default.nix b/pkgs/servers/zigbee2mqtt/default.nix index 3de413f95019a..1a3a31e75cd4c 100644 --- a/pkgs/servers/zigbee2mqtt/default.nix +++ b/pkgs/servers/zigbee2mqtt/default.nix @@ -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; diff --git a/pkgs/servers/zigbee2mqtt/update.sh b/pkgs/servers/zigbee2mqtt/update.sh index f1caee633885a..df4ca62666311 100755 --- a/pkgs/servers/zigbee2mqtt/update.sh +++ b/pkgs/servers/zigbee2mqtt/update.sh @@ -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 \ |