ranger: fix tests
This commit is contained in:
parent
81d0494390
commit
bfb31d28e7
@ -15,8 +15,13 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
sha256 = "14j067n1azk6vc6cxlhi5w5bsn2wcz4hypvgxc0vjl9xp5n4f0nf";
|
sha256 = "14j067n1azk6vc6cxlhi5w5bsn2wcz4hypvgxc0vjl9xp5n4f0nf";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
checkInputs = with pythonPackages; [ pytest ];
|
||||||
propagatedBuildInputs = [ file ];
|
propagatedBuildInputs = [ file ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test tests
|
||||||
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace ranger/ext/img_display.py \
|
substituteInPlace ranger/ext/img_display.py \
|
||||||
--replace /usr/lib/w3m ${w3m}/libexec/w3m
|
--replace /usr/lib/w3m ${w3m}/libexec/w3m
|
||||||
|
Loading…
x
Reference in New Issue
Block a user