Skip to content

Commit ee2d6d1

Browse files
kachickuncenter
andcommitted
nix-init: remove unnecessary darwin sdk
nix-init: remove outdated input Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
1 parent 26cea24 commit ee2d6d1

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

pkgs/by-name/ni/nix-init/package.nix

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
zlib,
1313
zstd,
1414
stdenv,
15-
darwin,
1615
spdx-license-list-data,
1716
nix,
1817
nurl,
@@ -47,21 +46,14 @@ rustPlatform.buildRustPackage rec {
4746
pkg-config
4847
];
4948

50-
buildInputs =
51-
[
52-
bzip2
53-
curl
54-
libgit2
55-
openssl
56-
zlib
57-
zstd
58-
]
59-
++ lib.optionals stdenv.hostPlatform.isDarwin [
60-
darwin.apple_sdk.frameworks.Security
61-
]
62-
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
63-
darwin.apple_sdk.frameworks.CoreFoundation
64-
];
49+
buildInputs = [
50+
bzip2
51+
curl
52+
libgit2
53+
openssl
54+
zlib
55+
zstd
56+
];
6557

6658
buildNoDefaultFeatures = true;
6759

0 commit comments

Comments
 (0)