diff options
author | Alyssa Ross <hi@alyssa.is> | 2018-09-27 18:18:06 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2018-09-27 18:21:29 +0100 |
commit | 4f14ccee0779d367390f447e70e99862b441c854 (patch) | |
tree | 3ff0436d126f5bf358e51481ffd1082324e891da /pkgs/applications/misc/ranger/default.nix | |
parent | 46651b82b87318e37440c15a639d49ec05e79b79 (diff) | |
download | nixpkgs-4f14ccee0779d367390f447e70e99862b441c854.tar nixpkgs-4f14ccee0779d367390f447e70e99862b441c854.tar.gz nixpkgs-4f14ccee0779d367390f447e70e99862b441c854.tar.bz2 nixpkgs-4f14ccee0779d367390f447e70e99862b441c854.tar.lz nixpkgs-4f14ccee0779d367390f447e70e99862b441c854.tar.xz nixpkgs-4f14ccee0779d367390f447e70e99862b441c854.tar.zst nixpkgs-4f14ccee0779d367390f447e70e99862b441c854.zip |
ranger: fix out-of-the-box previews
I'm guessing this became commented out by default at some point.
Diffstat (limited to 'pkgs/applications/misc/ranger/default.nix')
-rw-r--r-- | pkgs/applications/misc/ranger/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/misc/ranger/default.nix b/pkgs/applications/misc/ranger/default.nix index 6d883d89de3..26387264b64 100644 --- a/pkgs/applications/misc/ranger/default.nix +++ b/pkgs/applications/misc/ranger/default.nix @@ -36,7 +36,7 @@ python3Packages.buildPythonApplication rec { # give file previews out of the box substituteInPlace ranger/config/rc.conf \ - --replace "set preview_script ~/.config/ranger/scope.sh" "set preview_script $out/share/doc/ranger/config/scope.sh" + --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 \ --replace /usr/lib/w3m ${w3m}/libexec/w3m |