atuin: migrate to new darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-07 09:41:56 -08:00
parent 87a8321edf
commit ef10762159
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -3,9 +3,8 @@
, fetchFromGitHub
, installShellFiles
, rustPlatform
, libiconv
, buildPackages
, darwin
, apple-sdk_11
, nixosTests
}:
@ -36,10 +35,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
darwin.apple_sdk_11_0.frameworks.AppKit
darwin.apple_sdk_11_0.frameworks.Security
darwin.apple_sdk_11_0.frameworks.SystemConfiguration
apple-sdk_11
];
preBuild = ''