From c44ae94eab1bcf4dbef5405800fc597d0b4f78dd Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 8 Mar 2021 17:56:24 +0100 Subject: [PATCH] python3Packages.pytest-forked: don't propagate pytest pytest extensions should not propagate pytest. Doing so makes it impossible to combine the package with another version of pytest, which sometimes is needed. --- pkgs/development/python-modules/pytest-forked/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pytest-forked/default.nix b/pkgs/development/python-modules/pytest-forked/default.nix index 855e1fb470c2..0cfb8cd6afc8 100644 --- a/pkgs/development/python-modules/pytest-forked/default.nix +++ b/pkgs/development/python-modules/pytest-forked/default.nix @@ -18,7 +18,13 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools_scm ]; - propagatedBuildInputs = [ py pytest ]; + buildInputs = [ + pytest + ]; + + propagatedBuildInputs = [ + py + ]; checkInputs = [ pytestCheckHook ];