Unverified Commit 6db7d02e authored by Martin Weinelt's avatar Martin Weinelt
Browse files

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
parent 9eb91231
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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