perlPackages.GD: fix build on staging (#40449)

This commit is contained in:
volth 2018-05-13 20:12:02 +00:00 committed by xeji
parent a96f176f7b
commit 3a4eda2e38

View File

@ -6461,6 +6461,9 @@ let self = _self // overrides; _self = with self; {
# Patch has been sent upstream.
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" ];
# tests fail
doCheck = false;