@@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
99 sha256 = "1fsgvmncd9caw552lyfg8swmsd6bh4ijjsph69bwacwfxwf09j75";
1010 };
1111
12+ # Don't make deprecated usages hard errors
13+ prePatch = ''
14+ substituteInPlace configure --replace "-Werror" "";
15+ '';
16+
1217 # glib-2.62 deprecations
1318 NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
1419
@@ -23,9 +28,6 @@ stdenv.mkDerivation rec {
2328 nativeBuildInputs = [ pkg-config ];
2429 buildInputs = [ glib gtk2 dbus-glib ];
2530
26− # Don't make deprecated usages hard errors
27− preBuild = ''substituteInPlace unique/dbus/Makefile --replace -Werror ""'';
28−
2931 doCheck = true;
3032
3133 meta = {