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

View File

@ -32025,7 +32025,9 @@ with pkgs;
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 { };