Skip to content

Commit

Permalink
typst: remove unnecessary darwin build dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Nov 29, 2024
1 parent 49d26b7 commit 994a770
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions pkgs/by-name/ty/typst/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
pkg-config,
openssl,
xz,
stdenv,
darwin,
nix-update-script,
versionCheckHook,
}:
Expand All @@ -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";
Expand Down

0 comments on commit 994a770

Please sign in to comment.