about summary refs log tree commit diff
path: root/pkgs/tools/misc/esphome
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-12-01 20:01:05 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-12-01 20:03:42 +0100
commita542c7c8c52b1d7ba014c326126cd298f8e0720e (patch)
tree0b267591c0948964795270d27d6f8cdfc979ca6d /pkgs/tools/misc/esphome
parentf69af24c74715039420a999690870433ef991127 (diff)
esphome: apply patch to fix subprocess usage
Diffstat (limited to 'pkgs/tools/misc/esphome')
-rw-r--r--pkgs/tools/misc/esphome/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix
index 243629ec24b51..6f5725b2b3136 100644
--- a/pkgs/tools/misc/esphome/default.nix
+++ b/pkgs/tools/misc/esphome/default.nix
@@ -2,6 +2,7 @@
 , pkgs
 , python3
 , fetchFromGitHub
+, fetchpatch
 , platformio
 , esptool
 , git
@@ -28,7 +29,11 @@ with python.pkgs; buildPythonApplication rec {
 
   patches = [
     # fix missing write permissions on src files before modifing them
-   ./fix-src-permissions.patch
+    ./fix-src-permissions.patch
+    (fetchpatch {
+      url = "https://github.com/esphome/esphome/commit/fbe1bca1b9896ba8c8b754c5a4faf790bffd887b.patch";
+      sha256 = "sha256-Iyc79iL2YkLGD81TbFK3GaCY2L9nTE9mKz6MQSNQWr8=";
+    })
   ];
 
   postPatch = ''