diff --git a/pkgs/tools/misc/gh-cal/default.nix b/pkgs/tools/misc/gh-cal/default.nix index 2e4d05b1c274..53e5e1d3ee7d 100644 --- a/pkgs/tools/misc/gh-cal/default.nix +++ b/pkgs/tools/misc/gh-cal/default.nix @@ -1,10 +1,8 @@ { lib -, stdenv , fetchCrate , rustPlatform , pkg-config , openssl -, Security }: rustPlatform.buildRustPackage rec { pname = "gh-cal"; @@ -18,7 +16,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-73gqk0DjhaLGIEP5VQQlubPomxHQyg4RnY5XTgE7msQ="; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; + buildInputs = [ openssl ]; meta = with lib; { description = "GitHub contributions calender terminal viewer"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c8a176ca5350..4eccb58633ab 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1011,9 +1011,7 @@ with pkgs; python3Packages = python311Packages; }); - gh-cal = callPackage ../tools/misc/gh-cal { - inherit (darwin.apple_sdk.frameworks) Security; - }; + gh-cal = callPackage ../tools/misc/gh-cal { }; gp-saml-gui = python3Packages.callPackage ../tools/networking/gp-saml-gui { };