From 3791cf24ed8c3d3e0310c3e424928a57bd85fe2e Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Thu, 28 Apr 2022 12:45:37 +0200 Subject: [PATCH] octoprint: fix build failure due to python upgrades Signed-off-by: Florian Brandes --- pkgs/applications/misc/octoprint/default.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkgs/applications/misc/octoprint/default.nix b/pkgs/applications/misc/octoprint/default.nix index b7b0f8ae46bf..1f4a318287a1 100644 --- a/pkgs/applications/misc/octoprint/default.nix +++ b/pkgs/applications/misc/octoprint/default.nix @@ -174,6 +174,7 @@ let }; disabledTestPaths = [ "t/unit/backends/test_mongodb.py" + "t/unit/backends/test_cassandra.py" ]; }); } @@ -254,6 +255,24 @@ let } ) + ( + self: super: { + flask-restful = super.flask-restful.overridePythonAttrs (oldAttrs: rec { + # remove werkzeug patch + patches = []; + }); + } + ) + + ( + self: super: { + trytond = super.trytond.overridePythonAttrs (oldAttrs: rec { + # remove werkzeug patch + patches = []; + }); + } + ) + # Built-in dependency ( self: super: { @@ -406,6 +425,7 @@ let "watchdog" "wrapt" "zeroconf" + "Flask-Login" ]; in ''