diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index 4aea3d8fe5e81..8738ae7a79ca0 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -104,12 +104,6 @@ let "catchConflicts" "pyproject" "format" - "disabledTestPaths" - "disabledTests" - "pytestFlags" - "pytestFlagsArray" - "unittestFlags" - "unittestFlagsArray" "outputs" "stdenv" "dependencies" @@ -199,8 +193,6 @@ in doCheck ? true, - disabledTestPaths ? [ ], - # Allow passing in a custom stdenv to buildPython* stdenv ? python.stdenv, @@ -434,26 +426,6 @@ let # Longer-term we should get rid of `checkPhase` and use `installCheckPhase`. installCheckPhase = attrs.checkPhase; } - // optionalAttrs (attrs.doCheck or true) ( - optionalAttrs (disabledTestPaths != [ ]) { - disabledTestPaths = disabledTestPaths; - } - // optionalAttrs (attrs ? disabledTests) { - disabledTests = attrs.disabledTests; - } - // optionalAttrs (attrs ? pytestFlags) { - pytestFlags = attrs.pytestFlags; - } - // optionalAttrs (attrs ? pytestFlagsArray) { - pytestFlagsArray = attrs.pytestFlagsArray; - } - // optionalAttrs (attrs ? unittestFlags) { - unittestFlags = attrs.unittestFlags; - } - // optionalAttrs (attrs ? unittestFlagsArray) { - unittestFlagsArray = attrs.unittestFlagsArray; - } - ) ) );