mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 11:20:10 +00:00
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.
This commit is contained in:
@@ -20,14 +20,10 @@ buildPythonPackage rec {
|
||||
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = ''
|
||||
pytest test_journalwatch.py
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
pytest
|
||||
];
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
systemd
|
||||
|
||||
Reference in New Issue
Block a user