bamf: fix build with glib-2.62

This commit is contained in:
Tor Hedin Brønner 2019-09-14 22:43:59 +02:00
parent 8ff1d64b43
commit 03495ea203

View File

@ -66,8 +66,8 @@ stdenv.mkDerivation rec {
# TODO: Requires /etc/machine-id
doCheck = false;
# ignore deprecation errors
NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations";
# glib-2.62 deprecations
NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];
meta = with stdenv.lib; {
description = "Application matching framework";