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 21 22 doCheck = true; 23 - 24 checkPhase = '' 25 - pytest test_journalwatch.py 26 - ''; 27 - 28 - buildInputs = [ 29 pytest 30 - ]; 31 32 propagatedBuildInputs = [ 33 systemd
··· 20 21 22 doCheck = true; 23 + checkInputs = [ pytest ]; 24 checkPhase = '' 25 pytest 26 + ''; 27 28 propagatedBuildInputs = [ 29 systemd