From 63d8d3ccbaa3a7996775c8dd9ef9e1dbde6eae2b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 2 Feb 2025 23:00:46 +0100 Subject: [PATCH] python313Packages.autobahn: fix optional-dependencies.all expression Relying on `with self` leaked in twisted from the outer scope, which broke the list concat. --- pkgs/development/python-modules/autobahn/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/autobahn/default.nix b/pkgs/development/python-modules/autobahn/default.nix index 9770f8e6e940..5b71a43facc0 100644 --- a/pkgs/development/python-modules/autobahn/default.nix +++ b/pkgs/development/python-modules/autobahn/default.nix @@ -84,8 +84,14 @@ buildPythonPackage rec { optional-dependencies = lib.fix (self: { all = - with self; - accelerate ++ compress ++ encryption ++ nvx ++ serialization ++ scram ++ twisted ++ ui; + self.accelerate + ++ self.compress + ++ self.encryption + ++ self.nvx + ++ self.serialization + ++ self.scram + ++ self.twisted + ++ self.ui; accelerate = [ # wsaccel ];