Commit a3b7b770 authored by arcnmx's avatar arcnmx
Browse files

platformio: work around fallout from #194205

fixes #198319
parent adf91a16
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -3,11 +3,8 @@
let
  pio-pkgs = pkgs:
    let
      python = pkgs.python3.override {
        packageOverrides = self: super: {
          platformio = self.callPackage ./core.nix { inherit version src; };
        };
      };
      python = pkgs.python3;
      platformio = python.pkgs.callPackage ./core.nix { inherit version src; };
    in
    (with pkgs; [
      zlib
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ with python3.pkgs; buildPythonApplication rec {

    substituteInPlace setup.py \
      --replace 'uvicorn==%s" % ("0.17.*"' 'uvicorn==%s" % ("0.18.*"' \
      --replace 'aiofiles==0.8.*' 'aiofiles==22.1.*' \
      --replace 'wsproto==' 'wsproto>='
  '';