3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #223866 from wegank/tk-darwin

tk: propagate frameworks
This commit is contained in:
Weijia Wang 2023-03-30 18:07:49 +03:00 committed by GitHub
commit 823d5a4607
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;