From f9176cf7cd2cca0ee92b8da4ef730f801bdfbace Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 5 Oct 2022 02:05:37 +0200 Subject: [PATCH] python3Packages.social-auth-core: simplify passing optional-dependencies into checkInputs --- pkgs/development/python-modules/social-auth-core/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/social-auth-core/default.nix b/pkgs/development/python-modules/social-auth-core/default.nix index b00e5044c64f..6427208420f2 100644 --- a/pkgs/development/python-modules/social-auth-core/default.nix +++ b/pkgs/development/python-modules/social-auth-core/default.nix @@ -56,9 +56,7 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook httpretty - ] ++ passthru.optional-dependencies.openidconnect - ++ passthru.optional-dependencies.saml - ++ passthru.optional-dependencies.azuread; + ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies); # Disable checking the code coverage prePatch = ''