remove old Darwin SDK pattern (#354146)
This commit is contained in:
parent
7dad6b2d9f
commit
7ce39af037
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user