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 = ''