tk: fix x64 darwin build

update replace -framework -> -weak_framework to remove reference to
UniformTypeIdentifiers
This commit is contained in:
Reno Dakota 2024-11-20 22:36:17 -08:00
parent f85461a870
commit f7c3bbc5c7
No known key found for this signature in database

View File

@ -24,7 +24,7 @@ tcl.mkTclDerivation {
''
+ lib.optionalString (stdenv.hostPlatform.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11") ''
substituteInPlace unix/configure* \
--replace " -framework UniformTypeIdentifiers" ""
--replace-fail " -weak_framework UniformTypeIdentifiers" ""
'';
postInstall = ''