From 994a7709246f49d4cd1334496d2a6a9ae058378b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 29 Nov 2024 11:38:24 +0100 Subject: [PATCH] typst: remove unnecessary darwin build dependencies --- pkgs/by-name/ty/typst/package.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/ty/typst/package.nix b/pkgs/by-name/ty/typst/package.nix index b2a28f741ad8f..d77e889a5ea6d 100644 --- a/pkgs/by-name/ty/typst/package.nix +++ b/pkgs/by-name/ty/typst/package.nix @@ -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";