networkmanager-iodine: fix build with glib-2.62

This commit is contained in:
Tor Hedin Brønner 2019-09-04 13:24:13 +02:00
parent afe005329a
commit e732933aa7

View file

@ -24,8 +24,8 @@ in stdenv.mkDerivation {
nativeBuildInputs = [ intltool pkgconfig ];
# Fixes deprecation errors with networkmanager 1.10.2
NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations";
# glib-2.62 deprecations
NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];
configureFlags = [
"--without-libnm-glib"