anchor.diff:    '';
   
     preConfigure = ''
  +    ${lib.optionalString (highlight != null) ''
  +      sed -i -e 's|^\s*highlight\b|${highlight}/bin/highlight|' \
  +        ranger/data/scope.sh
  +    ''}
  +
       substituteInPlace ranger/data/scope.sh \
         --replace "/bin/echo" "echo"
   
  
positive.code: { stdenv, fetchFromGitHub, python3Packages, file, less
  , imagePreviewSupport ? true, w3m ? null}:
  
  with stdenv.lib;
  
negative.code:       --replace "set preview_images false" "set preview_images true"
    '';
  
    meta =  with lib; {
      description = "File manager with minimalistic curses interface";
      homepage = http://ranger.github.io/;
      license = licenses.gpl3;
  