summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jacob <projects+git@florianjacob.de>2019-04-13 20:33:39 +0200
committerFlorian Jacob <projects+git@florianjacob.de>2019-06-24 21:47:26 +0200
commitdbccbd58551e9dab3a2f9b2eb0a98fae6542e6cc (patch)
tree01bfb56f753bf526555c6d8142f6b93c7a2587a3
parentduplicati: 2.0.3.3 -> 2.0.4.5 (diff)
downloadnixpkgs-dbccbd58551e9dab3a2f9b2eb0a98fae6542e6cc.tar.gz
journalwatch: fix pytest checks
(cherry picked from commit ee20ba83144551497fcecedca277f5de32e81c0c) Reason: The more strict dependency handling of buildPythonPackage in 19.03 uncovered the error of having pytest as buildInput instead of checkInput, which leads to a broken package on 19.03.
-rw-r--r--pkgs/tools/system/journalwatch/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/tools/system/journalwatch/default.nix b/pkgs/tools/system/journalwatch/default.nix
index 473d245618fa..40606a45f639 100644
--- a/pkgs/tools/system/journalwatch/default.nix
+++ b/pkgs/tools/system/journalwatch/default.nix
@@ -20,14 +20,10 @@ buildPythonPackage rec {
doCheck = true;
-
+ checkInputs = [ pytest ];
checkPhase = ''
- pytest test_journalwatch.py
- '';
-
- buildInputs = [
pytest
- ];
+ '';
propagatedBuildInputs = [
systemd