Skip to content

Commit

Permalink
tk: propagate frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Mar 30, 2023
1 parent 0a1c5be commit aa42083
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 aa42083

Please sign in to comment.