mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
tk-8_5: fix GCC 15 compatibility
This commit is contained in:
@@ -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}";
|
||||
|
||||
Reference in New Issue
Block a user