nix-init: remove unnecessary darwin sdk

nix-init: remove outdated input

Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
This commit is contained in:
Kenichi Kamiya 2024-11-22 21:59:03 +09:00
parent 26cea2436d
commit ee2d6d1ea4
No known key found for this signature in database
GPG Key ID: 9BE4016A38165CCB

View File

@ -12,7 +12,6 @@
zlib,
zstd,
stdenv,
darwin,
spdx-license-list-data,
nix,
nurl,
@ -47,21 +46,14 @@ rustPlatform.buildRustPackage rec {
pkg-config
];
buildInputs =
[
bzip2
curl
libgit2
openssl
zlib
zstd
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
]
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
darwin.apple_sdk.frameworks.CoreFoundation
];
buildInputs = [
bzip2
curl
libgit2
openssl
zlib
zstd
];
buildNoDefaultFeatures = true;