zine: add missing Darwin frameworks (#187659)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Theodore Ni 2022-08-20 18:17:27 -07:00 committed by GitHub
parent f161a94d2a
commit b3b1dd0e38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -4,6 +4,8 @@
, rustPlatform , rustPlatform
, pkg-config , pkg-config
, openssl , openssl
, CoreServices
, Security
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "zine"; pname = "zine";
@ -23,9 +25,9 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
]; ];
buildInputs = [
openssl buildInputs = [ openssl ]
]; ++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
meta = with lib; { meta = with lib; {
description = "A simple and opinionated tool to build your own magazine"; description = "A simple and opinionated tool to build your own magazine";

View file

@ -32025,7 +32025,9 @@ with pkgs;
zim = callPackage ../applications/office/zim { }; zim = callPackage ../applications/office/zim { };
zine = callPackage ../applications/misc/zine { }; zine = callPackage ../applications/misc/zine {
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
};
zita-ajbridge = callPackage ../applications/audio/zita-ajbridge { }; zita-ajbridge = callPackage ../applications/audio/zita-ajbridge { };