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:
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/