1{ pkgs ? import <nixpkgs> {} }: 2 3with pkgs; 4 5mkShell { 6 nativeBuildInputs = [ php74.unwrapped autoconf pkgconfig re2c ]; 7 buildInputs = [ imagemagick7 pcre2 ]; 8 9 # Needed to avoid error message when using fonts 10 # https://github.com/Imagick/imagick/issues/398 11 FONTCONFIG_FILE = "${pkgs.fontconfig.out}/etc/fonts/fonts.conf"; 12 13 # Needed to allow Imagick::getConfigureOptions() to have all info 14 # https://github.com/Imagick/imagick/issues/399 15 MAGICK_CONFIGURE_PATH = "${imagemagick7.dev}/lib/ImageMagick-7.0.11/config-Q16HDRI"; 16} 17