planner: fix build with glib-2.62

This commit is contained in:
Tor Hedin Brønner 2019-09-17 09:55:46 +02:00
parent 1c5dac0fb2
commit 8fa7740aa7

View File

@ -45,6 +45,9 @@ in stdenv.mkDerivation {
python2.pkgs.pygtk python2.pkgs.pygtk
]; ];
# glib-2.62 deprecations
NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];
preConfigure = ''./autogen.sh''; preConfigure = ''./autogen.sh'';
configureFlags = [ configureFlags = [
"--enable-python" "--enable-python"