tectonic: cleanup Darwin specific apple_sdk usage

This commit is contained in:
Doron Behar
2025-02-24 19:02:25 +08:00
committed by Bryan Lai
parent 5c8c79a1cc
commit dd7d9801c5
+6 -16
View File
@@ -11,7 +11,6 @@
stdenv,
fetchFromGitHub,
rustPlatform,
darwin,
fontconfig,
harfbuzzFull,
openssl,
@@ -56,21 +55,12 @@ rustPlatform.buildRustPackage rec {
buildFeatures = [ "external-harfbuzz" ];
buildInputs =
[
icu
fontconfig
harfbuzzFull
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
ApplicationServices
Cocoa
Foundation
]
);
buildInputs = [
icu
fontconfig
harfbuzzFull
openssl
];
postInstall =
''