From 430da809af2e3d5f5cc59f202f4b6e5c66d571f1 Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Sun, 13 May 2018 01:10:57 +0000 Subject: [PATCH] perlPackages.GD: disable format hardening to fix some tests One test still fails :( --- pkgs/top-level/perl-packages.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 41a3e7098620..b89b8403dd22 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -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}"; };