@@ -160,6 +160,9 @@ stdenv.mkDerivation rec {
161 nativeBuildInputs = [ python perl pkgconfig ];
161 nativeBuildInputs = [ python perl pkgconfig ];
163+ # freetype-2.5.4 changed signedness of some struct fields
164+ NIX_CFLAGS_COMPILE = "-Wno-error=sign-compare";
163 postInstall =
166 postInstall =
165 ${optionalString buildDocs ''
168 ${optionalString buildDocs ''