I’d like to add ‘ImageMagick’ as a dependency for ranger to enable sixel support for image preview. How do I go about doing this?
I’d like to add ‘ImageMagick’ as a dependency for ranger to enable sixel support for image preview. How do I go about doing this?
https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/applications/file-managers/ranger/default.nix#L53
You’ll have to modify this file in order to do what you want, then import it into your config, unless somebody already did this for you as a flake or something. I’d give a more thorough explanation but I’m at work atm. Hopefully you can understand from the file what you need to do or someone else can explain.
I figured the need for imagemagick as a dependency while looking through this link before, but I was hoping there was an “easier” way to do this. Maybe I’ll take this opportunity and make a PR when I have time, appreciate you. Thank you!!