networkmanager_strongswan: fix build with glib-2.62

This commit is contained in:
Tor Hedin Brønner 2019-09-17 09:37:29 +02:00
parent 51770cb77e
commit ecc32f8df4

View File

@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
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"