tk: fix x64 darwin build

update replace -framework -> -weak_framework to remove reference to
UniformTypeIdentifiers

(cherry picked from commit f7c3bbc5c7d0fdf4a16e32580e2ee7fdcfeaa55e)
This commit is contained in:
Reno Dakota
2024-11-30 15:11:38 +01:00
committed by Vladimír Čunát
parent adc2a4959d
commit 0e2bef0920
+1 -1
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 = ''