diff --git a/pkgs/development/embedded/platformio/chrootenv.nix b/pkgs/development/embedded/platformio/chrootenv.nix index fbabfe982de0..75f9adf0d3e6 100644 --- a/pkgs/development/embedded/platformio/chrootenv.nix +++ b/pkgs/development/embedded/platformio/chrootenv.nix @@ -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 diff --git a/pkgs/development/embedded/platformio/core.nix b/pkgs/development/embedded/platformio/core.nix index fcb4e7d5fda3..bcbcbdcb2cac 100644 --- a/pkgs/development/embedded/platformio/core.nix +++ b/pkgs/development/embedded/platformio/core.nix @@ -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>=' ''; @@ -147,6 +148,5 @@ with python3.pkgs; buildPythonApplication rec { homepage = "https://platformio.org"; license = licenses.asl20; maintainers = with maintainers; [ mog makefu ]; - broken = stdenv.isAarch64; }; }