u2ps: fix build with gcc 15 (#517931)

This commit is contained in:
Peder Bergebakken Sundt
2026-05-08 17:10:43 +00:00
committed by GitHub
+3
View File
@@ -18,6 +18,9 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ ghostscript_headless ];
# gcc 15 defaults to C23 where bool is a keyword; u2ps does `typedef unsigned char bool;`
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
meta = {
description = "Unicode text to postscript converter";
homepage = "https://github.com/arsv/u2ps";