From 3a3c1e94fba46e9da61f42721dec989b15afe84c Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Fri, 22 Oct 2021 14:17:50 -0700 Subject: [PATCH] zigbee2mqtt: remove toplevel system attr --- pkgs/servers/zigbee2mqtt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/zigbee2mqtt/default.nix b/pkgs/servers/zigbee2mqtt/default.nix index 2a7c31a47a0f..7f561c493e66 100644 --- a/pkgs/servers/zigbee2mqtt/default.nix +++ b/pkgs/servers/zigbee2mqtt/default.nix @@ -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