diff options
Diffstat (limited to 'pkgs/applications/misc/ranger/default.nix')
-rw-r--r-- | pkgs/applications/misc/ranger/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/misc/ranger/default.nix b/pkgs/applications/misc/ranger/default.nix index 673e4b020852..9b7aeddc2ffb 100644 --- a/pkgs/applications/misc/ranger/default.nix +++ b/pkgs/applications/misc/ranger/default.nix @@ -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 |