From f0faed2bca4ca5adedcf5abd13fdc08ff7478dd2 Mon Sep 17 00:00:00 2001 From: Ryan Horiguchi Date: Fri, 26 Jan 2024 18:26:37 +0100 Subject: [PATCH] esphome: add missing dependency for discovery with ping --- pkgs/tools/misc/esphome/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index 1fa0f479d0da..89bf35430496 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -6,6 +6,7 @@ , platformio , esptool , git +, iputils }: let @@ -74,10 +75,11 @@ python.pkgs.buildPythonApplication rec { ]; makeWrapperArgs = [ - # platformio is used in esphomeyaml/platformio_api.py - # esptool is used in esphomeyaml/__main__.py - # git is used in esphomeyaml/writer.py - "--prefix PATH : ${lib.makeBinPath [ platformio esptool git ]}" + # platformio is used in esphome/platformio_api.py + # esptool is used in esphome/__main__.py + # git is used in esphome/writer.py + # iputils is used in esphome/dashboard/status/ping.py + "--prefix PATH : ${lib.makeBinPath [ platformio esptool git iputils ]}" "--prefix PYTHONPATH : $PYTHONPATH" # will show better error messages "--set ESPHOME_USE_SUBPROCESS ''" ];