mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 08:44:31 +00:00
typst: remove unnecessary darwin build dependencies (#360108)
This commit is contained in:
commit
7bcf4b31fe
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user