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().
This commit is contained in:
Tuomas Tynkkynen 2017-04-24 20:01:22 +03:00
parent cf3800b38c
commit 0537320062

View File

@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
pname = "NetworkManager"; pname = "NetworkManager";
major = "1.6"; major = "1.6";
version = "${major}.2"; version = "${major}.2";
# FIXME: this problem is fixed upstream (commit 6a77258f4ec2), remove when upgrading ^^^
hardeningDisable = [ "format" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${major}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${major}/${pname}-${version}.tar.xz";