perlPackages.GD: disable format hardening to fix some tests

One test still fails :(
This commit is contained in:
Jan Malakhovski 2018-05-13 01:10:57 +00:00
parent edc59b4715
commit 430da809af

View file

@ -6462,10 +6462,9 @@ let self = _self // overrides; _self = with self; {
patches = [ ../development/perl-modules/gd-options-passthrough-and-fontconfig.patch ];
# otherwise "cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]"
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ];
hardeningDisable = [ "format" ];
# tests fail
doCheck = false;
doCheck = false; # fails 1 out of 13 tests
makeMakerFlags = "--lib_png_path=${pkgs.libpng.out} --lib_jpeg_path=${pkgs.libjpeg.out} --lib_zlib_path=${pkgs.zlib.out} --lib_ft_path=${pkgs.freetype.out} --lib_fontconfig_path=${pkgs.fontconfig.lib} --lib_xpm_path=${pkgs.xorg.libXpm.out}";
};