From 5c69676bcf3cfb6f4fe8bba5faf93b0341fc7e9f Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Sun, 2 Aug 2026 04:07:30 -0700 Subject: [PATCH] fix: move pytest to nativeBuildInputs so it's available in checkPhase --- flake.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index d7b0577..1930e18 100644 --- a/flake.nix +++ b/flake.nix @@ -21,18 +21,16 @@ python setuptools wheel + pytest + pytest-asyncio ]; propagatedBuildInputs = with pythonPackages; [ pyyaml pydantic ]; doCheck = true; - checkInputs = with pythonPackages; [ - pytest - pytest-asyncio - ]; checkPhase = '' - pytest tests/ -x --tb=short -q + python -m pytest tests/ -x --tb=short -q ''; pyproject = true; pyprojectFiles = [ "pyproject.toml" ];