mytetra: fix build with gcc 15

This commit is contained in:
Harinn
2026-05-08 19:57:03 +07:00
parent 00506e4aca
commit 0d5165a32a
@@ -29,6 +29,9 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
# K&R-style declarations in vendored mimetex break under gcc 15's C23 default.
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
preBuild = ''
substituteInPlace app/app.pro \
--replace /usr/local/bin $out/bin \