diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-02-12 20:13:46 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-02-13 00:25:23 +0100 |
commit | 17d71aeacacef2e9784b199f14a6c585115c82c0 (patch) | |
tree | 26ce638a3d0631298efcb888cca037463c90617e /pkgs/applications/misc | |
parent | 2e00a2cf5062b11cd89c2247854e76baed2569d7 (diff) |
ranger: cleanup stale substituteInPlace
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/ranger/default.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/applications/misc/ranger/default.nix b/pkgs/applications/misc/ranger/default.nix index 619b2ba99551c..fe41c6a1e3223 100644 --- a/pkgs/applications/misc/ranger/default.nix +++ b/pkgs/applications/misc/ranger/default.nix @@ -32,18 +32,12 @@ python3Packages.buildPythonApplication rec { ranger/data/scope.sh ''} - substituteInPlace ranger/data/scope.sh \ - --replace "/bin/echo" "echo" - substituteInPlace ranger/__init__.py \ --replace "DEFAULT_PAGER = 'less'" "DEFAULT_PAGER = '${lib.getBin less}/bin/less'" - for i in ranger/config/rc.conf doc/config/rc.conf ; do - substituteInPlace $i --replace /usr/share $out/share - done - # give file previews out of the box substituteInPlace ranger/config/rc.conf \ + --replace /usr/share $out/share \ --replace "#set preview_script ~/.config/ranger/scope.sh" "set preview_script $out/share/doc/ranger/config/scope.sh" '' + optionalString imagePreviewSupport '' substituteInPlace ranger/ext/img_display.py \ |