From bfa5a27ed9f87307f688fdece77a99e79b4bbee8 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Wed, 3 Aug 2016 20:13:49 +0000 Subject: [PATCH] pfixtools: set -Wno-error=unused-result hardening enables further warnings breaking the build --- pkgs/servers/mail/postfix/pfixtools.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/mail/postfix/pfixtools.nix b/pkgs/servers/mail/postfix/pfixtools.nix index 3e7ef9f23db5..b17beeb095f2 100644 --- a/pkgs/servers/mail/postfix/pfixtools.nix +++ b/pkgs/servers/mail/postfix/pfixtools.nix @@ -38,6 +38,8 @@ stdenv.mkDerivation { --replace /bin/bash ${bash}/bin/bash; ''; + NIX_CFLAGS_COMPILE = "-Wno-error=unused-result"; + makeFlags = "DESTDIR=$(out) prefix="; meta = {