diff --git a/pkgs/tools/backup/zfs-replicate/default.nix b/pkgs/tools/backup/zfs-replicate/default.nix index 60a3d1b90120..94cb3790a567 100644 --- a/pkgs/tools/backup/zfs-replicate/default.nix +++ b/pkgs/tools/backup/zfs-replicate/default.nix @@ -1,5 +1,5 @@ -{ buildPythonApplication, click, fetchPypi, hypothesis, mypy, pytest -, pytest-cov, pytest-runner, lib, stringcase +{ buildPythonApplication, click, fetchPypi, hypothesis, pytest +, lib, stringcase }: buildPythonApplication rec { @@ -11,15 +11,14 @@ buildPythonApplication rec { sha256 = "b2cb9d4670a6e12d14a446c10d857862e91af6e4526f607e08b41bde89953bb8"; }; + postPatch = '' + sed -i setup.cfg \ + -e '/--cov.*/d' + ''; + nativeCheckInputs = [ hypothesis - mypy pytest - pytest-cov - ]; - - buildInputs = [ - pytest-runner ]; propagatedBuildInputs = [