typst: remove unnecessary darwin build dependencies

This commit is contained in:
Gaetan Lepage 2024-11-29 11:38:24 +01:00
parent 49d26b7cd6
commit 994a770924

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