From 0d327fef459d6617d0d547809256a6a1fd6849d2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 2 Apr 2023 15:57:29 +0200 Subject: [PATCH] python310Packages.pytest-instafail: add missing input --- .../pytest-instafail/default.nix | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pytest-instafail/default.nix b/pkgs/development/python-modules/pytest-instafail/default.nix index 69b9a8b17c8e..256c3c582a29 100644 --- a/pkgs/development/python-modules/pytest-instafail/default.nix +++ b/pkgs/development/python-modules/pytest-instafail/default.nix @@ -1,6 +1,7 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , fetchPypi -, lib +, pytest , pytestCheckHook }: @@ -13,8 +14,17 @@ buildPythonPackage rec { sha256 = "sha256-M6YG9+DI5kbcO/7g1eOkt7eO98NhaM+h89k698pwbJ4="; }; - nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ "pytest_instafail" ]; + buildInputs = [ + pytest + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "pytest_instafail" + ]; meta = with lib; { description = "pytest plugin that shows failures and errors instantly instead of waiting until the end of test session";