tk-8_5: fix GCC 15 compatibility

This commit is contained in:
Yiyu Zhou
2025-12-31 23:49:54 -08:00
parent 9680568b4c
commit 221c47648e

View File

@@ -89,6 +89,10 @@ tcl.mkTclDerivation {
inherit tcl;
env = lib.optionalAttrs (lib.versionOlder tcl.version "8.6") {
NIX_CFLAGS_COMPILE = "-std=gnu17";
};
passthru = rec {
inherit (tcl) release version;
libPrefix = "tk${tcl.release}";