remove old Darwin SDK pattern (#354146)

This commit is contained in:
Noa Aarts 2024-11-18 16:16:49 +01:00
parent 7dad6b2d9f
commit 7ce39af037
No known key found for this signature in database
GPG Key ID: 1850932741EFF672

View File

@ -1,5 +1,4 @@
{
darwin,
fetchFromGitHub,
file,
lib,
@ -27,23 +26,11 @@ rustPlatform.buildRustPackage {
useFetchCargoVendor = true;
cargoHash = "sha256-tu9HCFAxmmYVgmJyHunBtGSqKGzwbX2vi6ju4cv33wc=";
buildInputs =
[
file
sqlite
zstd
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
AppKit
CoreFoundation
CoreGraphics
IOKit
Security
SystemConfiguration
]
);
buildInputs = [
file
sqlite
zstd
];
nativeBuildInputs = [
pkg-config