poetryPlugins.poetry-plugin-shell: Fix tests on darwin

The fix for #281369 that was added in #281397 was not brought across when poetry-plugin-shell was split out from poetry with the update to poetry 2.0.0.
This commit is contained in:
Morgan Lokhorst
2025-01-30 18:05:56 +11:00
committed by Morgan Larosa
parent bb2b0c599b
commit 379d03c043
@@ -2,6 +2,7 @@
buildPythonPackage,
fetchFromGitHub,
lib,
stdenv,
pexpect,
poetry,
poetry-core,
@@ -9,6 +10,7 @@
pytest-xdist,
pytestCheckHook,
shellingham,
darwin,
}:
buildPythonPackage rec {
@@ -34,11 +36,15 @@ buildPythonPackage rec {
shellingham
];
nativeCheckInputs = [
pytest-mock
pytest-xdist
pytestCheckHook
];
nativeCheckInputs =
[
pytest-mock
pytest-xdist
pytestCheckHook
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.ps
];
meta = {
changelog = "https://github.com/python-poetry/poetry-plugin-shell/blob/${src.tag}/CHANGELOG.md";