parent
35fbee7964
commit
b13c7186d6
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, python, fetchurl }:
|
{ stdenv, fetchurl, buildPythonPackage, python, w3m }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "ranger-1.7.1";
|
name = "ranger-1.7.1";
|
||||||
@ -17,4 +17,14 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python.modules; [ curses ];
|
propagatedBuildInputs = with python.modules; [ curses ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
substituteInPlace ranger/ext/img_display.py \
|
||||||
|
--replace /usr/lib/w3m ${w3m}/libexec/w3m
|
||||||
|
|
||||||
|
for i in ranger/config/rc.conf doc/config/rc.conf ; do
|
||||||
|
substituteInPlace $i --replace /usr/share $out/share
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user