esphome: apply patch to fix subprocess usage

This commit is contained in:
Martin Weinelt 2021-12-01 20:01:05 +01:00
parent f69af24c74
commit a542c7c8c5
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -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 = ''