mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
esphome: add missing dependency for discovery with ping
This commit is contained in:
parent
be99314e4d
commit
f0faed2bca
@ -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 ''"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user