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