Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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.

+2 -6
+2 -6
pkgs/tools/system/journalwatch/default.nix
··· 20 20 21 21 22 22 doCheck = true; 23 - 23 + checkInputs = [ pytest ]; 24 24 checkPhase = '' 25 - pytest test_journalwatch.py 26 - ''; 27 - 28 - buildInputs = [ 29 25 pytest 30 - ]; 26 + ''; 31 27 32 28 propagatedBuildInputs = [ 33 29 systemd