mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
poetry: fix tests on Darwin
tests/console/commands/test_shell.py::test_shell used to fail with shellingham.posix.ps.PsNotAvailable: ps not found
This commit is contained in:
parent
ac1638d014
commit
3b5fd3ff81
|
@ -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 = (''
|
||||
|
|
Loading…
Reference in a new issue