star-history: fix build on darwin

This commit is contained in:
Mario Rodas 2023-12-23 12:58:00 +00:00
parent 297f945b8e
commit b2f2fbc612
2 changed files with 3 additions and 5 deletions

View File

@ -1,10 +1,10 @@
{ lib
, rustPlatform
, darwin
, fetchCrate
, pkg-config
, openssl
, stdenv
, Security
}:
rustPlatform.buildRustPackage rec {
@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
meta = with lib; {

View File

@ -30003,9 +30003,7 @@ with pkgs;
stdmanpages = callPackage ../data/documentation/std-man-pages { };
star-history = callPackage ../tools/misc/star-history {
inherit (darwin.apple_sdk.frameworks) Security;
};
star-history = callPackage ../tools/misc/star-history { };
starfetch = callPackage ../tools/misc/starfetch { };