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?

  • mister_drgnB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    If you just need to make sure ImageMagick is available when ranger is built and/or run, you should be able to use overrideAttrs on the ranger package to add a buildInputs attribute, which will be a list containing the nix package for ImageMagick. To begin with, check this out:

    https://ryantm.github.io/nixpkgs/using/overrides/