caligula: use new darwin sdk pattern
This commit is contained in:
parent
b88f9fe294
commit
f9b5b1f98c
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user