typst: remove unnecessary darwin build dependencies (#360108)

This commit is contained in:
Gaétan Lepage 2024-11-29 12:19:35 +01:00 committed by GitHub
commit 7bcf4b31fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,8 +6,6 @@
pkg-config,
openssl,
xz,
stdenv,
darwin,
nix-update-script,
versionCheckHook,
}:
@ -33,16 +31,10 @@ rustPlatform.buildRustPackage rec {
pkg-config
];
buildInputs =
[
openssl
xz
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.Security
];
buildInputs = [
openssl
xz
];
env = {
GEN_ARTIFACTS = "artifacts";