caligula: use new darwin sdk pattern

This commit is contained in:
Nick Cao 2024-11-30 08:41:38 -05:00
parent b88f9fe294
commit f9b5b1f98c
No known key found for this signature in database

View File

@ -1,9 +1,6 @@
{ lib
, rustPlatform
, fetchFromGitHub
, llvmPackages
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
@ -23,15 +20,6 @@ rustPlatform.buildRustPackage rec {
rustPlatform.bindgenHook
];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks; [
Cocoa
IOKit
Foundation
DiskArbitration
]
);
RUSTFLAGS = "--cfg tracing_unstable";
meta = with lib; {