libunique: fix build with glib-2.62

This commit is contained in:
Tor Hedin Brønner 2019-09-14 22:45:31 +02:00
parent 03495ea203
commit 0b45e79490

View File

@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1fsgvmncd9caw552lyfg8swmsd6bh4ijjsph69bwacwfxwf09j75";
};
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
# glib-2.62 deprecations
NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];
# Patches from Gentoo portage
patches = [