Skip to content

Commit

Permalink
Merge pull request #223866 from wegank/tk-darwin
Browse files Browse the repository at this point in the history
tk: propagate frameworks
  • Loading branch information
wegank authored Mar 30, 2023
2 parents e2137de + aa42083 commit 823d5a4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkgs/development/libraries/tk/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,15 @@ tcl.mkTclDerivation {
++ lib.optional enableAqua "--enable-aqua";

nativeBuildInputs = [ pkg-config ];
buildInputs = lib.optional enableAqua (with darwin.apple_sdk.frameworks; [ Cocoa ]);
buildInputs = [ ];

propagatedBuildInputs = [ libXft ];
propagatedBuildInputs = [
libXft
] ++ lib.optionals enableAqua ([
darwin.apple_sdk.frameworks.Cocoa
] ++ lib.optionals (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") [
darwin.apple_sdk.frameworks.UniformTypeIdentifiers
]);

enableParallelBuilding = true;

Expand Down

0 comments on commit 823d5a4

Please sign in to comment.