minilibx: fix build with gcc 15

This commit is contained in:
Weijia Wang
2026-01-23 21:15:52 +01:00
parent a5378e67b6
commit bbcfaba24b
+2
View File
@@ -42,6 +42,8 @@ stdenv.mkDerivation {
"CC=${stdenv.cc.targetPrefix}cc"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=gnu17";
installPhase = ''
runHook preInstall