From 3b5fd3ff818b0ebafed1dbb937bef6dd945e7553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 16 Jan 2024 13:06:03 -0800 Subject: [PATCH] poetry: fix tests on Darwin tests/console/commands/test_shell.py::test_shell used to fail with shellingham.posix.ps.PsNotAvailable: ps not found --- pkgs/tools/package-management/poetry/unwrapped.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/package-management/poetry/unwrapped.nix b/pkgs/tools/package-management/poetry/unwrapped.nix index 53e61354deed..f13a7715464b 100644 --- a/pkgs/tools/package-management/poetry/unwrapped.nix +++ b/pkgs/tools/package-management/poetry/unwrapped.nix @@ -37,6 +37,7 @@ , pytest-mock , pytest-xdist , pythonAtLeast +, darwin }: buildPythonPackage rec { @@ -110,6 +111,8 @@ buildPythonPackage rec { httpretty pytest-mock pytest-xdist + ] ++ lib.optionals stdenv.isDarwin [ + darwin.ps ]; preCheck = (''