cargo-i18n: update for new Darwin pattern

This commit is contained in:
Randy Eckenrode 2024-11-12 19:39:00 -05:00
parent 45d55abd39
commit 47ad8bbeb5
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -1,8 +1,6 @@
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
@ -18,10 +16,6 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-vN62QmCuhu7AjL6xSpBU6/ul4WgNLZbjWDCFyHj6rIM=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Foundation
];
cargoTestFlags = [ "--lib" ];
meta = with lib; {