core/pkgs/by-name/im/imlib2/packages.nix
2024-05-13 11:34:52 -04:00

20 lines
464 B
Nix

{ ... }:
res: pkgs: super:
with pkgs;
{
imlib2 = callPackage ./. { };
imlib2Full = imlib2.override {
# Compilation error on Darwin with librsvg. For more information see:
# https://github.com/NixOS/nixpkgs/pull/166452#issuecomment-1090725613
svgSupport = !stdenv.isDarwin;
heifSupport = !stdenv.isDarwin;
webpSupport = true;
jxlSupport = true;
psSupport = true;
};
imlib2-nox = imlib2.override {
x11Support = false;
};
}