esphome: improve error message

This commit is contained in:
Felix Buehler 2023-12-28 23:11:55 +01:00
parent a3957236ce
commit 0e7633f486

View file

@ -75,6 +75,7 @@ python.pkgs.buildPythonApplication rec {
# esptool is used in esphomeyaml/__main__.py
# git is used in esphomeyaml/writer.py
"--prefix PATH : ${lib.makeBinPath [ platformio esptool git ]}"
"--prefix PYTHONPATH : $PYTHONPATH" # will show better error messages
"--set ESPHOME_USE_SUBPROCESS ''"
];