From 053732006231549313533319544dedcdf0abc458 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Mon, 24 Apr 2017 20:01:22 +0300 Subject: [PATCH] networkmanager: Temporarily disable -Wformat-security until next release Reportedly this is due to GLib 2.52 which added a G_GNUC_PRINTF attribute to g_dbus_message_new_method_error(). --- pkgs/tools/networking/network-manager/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/networking/network-manager/default.nix b/pkgs/tools/networking/network-manager/default.nix index fd470143a3c5..58e5e9343a76 100644 --- a/pkgs/tools/networking/network-manager/default.nix +++ b/pkgs/tools/networking/network-manager/default.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation rec { pname = "NetworkManager"; major = "1.6"; version = "${major}.2"; + # FIXME: this problem is fixed upstream (commit 6a77258f4ec2), remove when upgrading ^^^ + hardeningDisable = [ "format" ]; src = fetchurl { url = "mirror://gnome/sources/${pname}/${major}/${pname}-${version}.tar.xz";