zigbee2mqtt: remove toplevel system attr

This commit is contained in:
Ryan Burns 2021-10-22 14:17:50 -07:00
parent 0b918edc99
commit 3a3c1e94fb

View File

@ -1,6 +1,6 @@
{ pkgs, system, dataDir ? "/opt/zigbee2mqtt/data", nixosTests }:
{ pkgs, stdenv, dataDir ? "/opt/zigbee2mqtt/data", nixosTests }:
let
package = (import ./node.nix { inherit pkgs system; }).package;
package = (import ./node.nix { inherit pkgs; inherit (stdenv.hostPlatform) system; }).package;
in
package.override rec {
# don't upgrade! Newer versions cause stack overflows and fail trunk-combined