onefetch: darwin sdk fixup

This commit is contained in:
TheSola10 2024-11-14 11:04:01 +01:00
parent 922b38af87
commit 7f0f95aec2
No known key found for this signature in database
GPG Key ID: 89245619BEBB95BA

View File

@ -13,7 +13,6 @@
let let
inherit (darwin) libresolv; inherit (darwin) libresolv;
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "onefetch"; pname = "onefetch";
@ -42,9 +41,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = buildInputs =
[ zstd ] [ zstd ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ ++ lib.optionals stdenv.hostPlatform.isDarwin [
CoreFoundation
libresolv libresolv
Security
]; ];
nativeCheckInputs = [ nativeCheckInputs = [