From c69eb2e658d4858160e56832443c8ce1a43ed0c2 Mon Sep 17 00:00:00 2001 From: Harinn Date: Tue, 14 Jul 2026 15:36:13 +0700 Subject: [PATCH] python3Packages.simanneal: use pytestCheckHook --- pkgs/development/python-modules/simanneal/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/simanneal/default.nix b/pkgs/development/python-modules/simanneal/default.nix index ff553295916a..2cdbf44c10d5 100644 --- a/pkgs/development/python-modules/simanneal/default.nix +++ b/pkgs/development/python-modules/simanneal/default.nix @@ -3,7 +3,7 @@ fetchFromGitHub, buildPythonPackage, setuptools, - pytest, + pytestCheckHook, }: buildPythonPackage (finalAttrs: { @@ -22,8 +22,7 @@ buildPythonPackage (finalAttrs: { build-system = [ setuptools ]; - nativeCheckInputs = [ pytest ]; - checkPhase = "pytest tests"; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "simanneal" ];