pkgsMusl.python3.pkgs.watchdog: fix build

This commit is contained in:
Yureka 2022-09-13 18:40:48 +02:00
parent 19aa0eb4de
commit 21bc002b61

View File

@ -41,6 +41,11 @@ buildPythonPackage rec {
substituteInPlace setup.cfg \
--replace "--cov=watchdog" "" \
--replace "--cov-report=term-missing" ""
'' + lib.optionalString stdenv.hostPlatform.isMusl
# https://github.com/gorakhargosh/watchdog/issues/920
''
substituteInPlace tests/test_inotify_c.py \
--replace "Unknown error -1" "No error information"
'';
disabledTests = [