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