about summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2023-12-28 23:11:55 +0100
committerFelix Buehler <account@buehler.rocks>2023-12-29 11:48:19 +0100
commit0e7633f486912c0375f9f243f43113eb1469a9db (patch)
tree1393b211ccc29f1997a90061bb1a5444f1cb0ea4 /pkgs/tools/misc
parenta3957236ce752b03d0ba3c388422b730129c6085 (diff)
esphome: improve error message
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/esphome/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix
index 489250776213a..a8ab91f8f3296 100644
--- a/pkgs/tools/misc/esphome/default.nix
+++ b/pkgs/tools/misc/esphome/default.nix
@@ -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 ''"
   ];