diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index a214a210d78f..607db114d9fb 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -2,7 +2,7 @@ , python3 , fetchFromGitHub , platformio -, esptool +, esptool_3 , git }: @@ -66,7 +66,7 @@ with python.pkgs; buildPythonApplication rec { # 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 ]}" + "--prefix PATH : ${lib.makeBinPath [ platformio esptool_3 git ]}" "--set ESPHOME_USE_SUBPROCESS ''" ];