minilibx: fix build with gcc 15 (#483163)

This commit is contained in:
Weijia Wang
2026-01-24 10:28:29 +00:00
committed by GitHub
+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