esphome: fix font component support

Nixpkgs retired the protobuf library version we need for esphome, so now
we can only use the native python implementation until its gflanguages
dependency catches up again.

Closes: #362193
This commit is contained in:
Martin Weinelt
2024-12-08 15:34:21 +01:00
parent 9eb9123185
commit 6db7d02ec9
+2
View File
@@ -106,6 +106,8 @@ python.pkgs.buildPythonApplication rec {
"--prefix PYTHONPATH : ${python.pkgs.makePythonPath dependencies}" # will show better error messages
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ stdenv.cc.cc ]}"
"--set ESPHOME_USE_SUBPROCESS ''"
# https://github.com/NixOS/nixpkgs/issues/362193
"--set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION 'python'"
];
# Needed for tests