diff options
author | arcnmx <git@git.arcn.mx> | 2022-11-01 11:52:31 -0700 |
---|---|---|
committer | arcnmx <git@git.arcn.mx> | 2022-11-01 11:52:31 -0700 |
commit | a3b7b770cec93c0f9714090b09659588ce78aa4b (patch) | |
tree | 607240ed221e3c4430b9cf93144287e411e64407 /pkgs/development/embedded/platformio | |
parent | adf91a16c0354ba34f27c00c8ed3f4c73f2fd4d5 (diff) |
platformio: work around fallout from #194205
fixes #198319
Diffstat (limited to 'pkgs/development/embedded/platformio')
-rw-r--r-- | pkgs/development/embedded/platformio/chrootenv.nix | 7 | ||||
-rw-r--r-- | pkgs/development/embedded/platformio/core.nix | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/development/embedded/platformio/chrootenv.nix b/pkgs/development/embedded/platformio/chrootenv.nix index fbabfe982de01..75f9adf0d3e69 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 fcb4e7d5fda30..d553477babba6 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>=' ''; |