From dbf97a5afec913bf27c69650c5bb2cd5ccef5947 Mon Sep 17 00:00:00 2001 From: Matt McHenry Date: Mon, 4 Sep 2017 12:50:50 -0400 Subject: [PATCH] pfixtools: patch to work with gcc 6 Progress on: #28643 fixes #28984 --- pkgs/servers/mail/postfix/pfixtools.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/mail/postfix/pfixtools.nix b/pkgs/servers/mail/postfix/pfixtools.nix index 6a0d7fb588f..a4186559e89 100644 --- a/pkgs/servers/mail/postfix/pfixtools.nix +++ b/pkgs/servers/mail/postfix/pfixtools.nix @@ -40,7 +40,7 @@ stdenv.mkDerivation { --replace /bin/bash ${bash}/bin/bash; ''; - NIX_CFLAGS_COMPILE = "-Wno-error=unused-result"; + NIX_CFLAGS_COMPILE = "-Wno-error=unused-result -Wno-error=nonnull-compare"; makeFlags = "DESTDIR=$(out) prefix="; @@ -49,5 +49,6 @@ stdenv.mkDerivation { license = with lib.licenses; [ bsd3 ]; homepage = https://github.com/Fruneau/pfixtools; platforms = stdenv.lib.platforms.linux; + maintainers = with lib.maintainers; [ jerith666 ]; }; }