From 0e2bef0920e592ce8217af245b1633386ae1db67 Mon Sep 17 00:00:00 2001 From: Reno Dakota Date: Wed, 20 Nov 2024 22:36:17 -0800 Subject: [PATCH] tk: fix x64 darwin build update replace -framework -> -weak_framework to remove reference to UniformTypeIdentifiers (cherry picked from commit f7c3bbc5c7d0fdf4a16e32580e2ee7fdcfeaa55e) --- pkgs/development/libraries/tk/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/tk/generic.nix b/pkgs/development/libraries/tk/generic.nix index 7a4b0a76d3b4..dfe14f22ec45 100644 --- a/pkgs/development/libraries/tk/generic.nix +++ b/pkgs/development/libraries/tk/generic.nix @@ -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 = ''