ranger: fix tests

This commit is contained in:
Frederik Rietdijk 2017-02-10 09:40:57 +01:00
parent 81d0494390
commit bfb31d28e7

View File

@ -15,8 +15,13 @@ pythonPackages.buildPythonApplication rec {
sha256 = "14j067n1azk6vc6cxlhi5w5bsn2wcz4hypvgxc0vjl9xp5n4f0nf";
};
checkInputs = with pythonPackages; [ pytest ];
propagatedBuildInputs = [ file ];
checkPhase = ''
py.test tests
'';
preConfigure = ''
substituteInPlace ranger/ext/img_display.py \
--replace /usr/lib/w3m ${w3m}/libexec/w3m