agate: fix build for darwin

Co-authored-by: SuperSandro2000 <sandro.jaeckel@gmail.com>
master
06kellyjac 2021-02-12 19:52:20 +00:00
parent 5050ed3f41
commit 0edf636ad0
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, rustPlatform, installShellFiles }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security }:
rustPlatform.buildRustPackage rec {
pname = "agate";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-B07itUftDj3yVMDc/2VetwYs74fZBa1tmeELbbQ39P0=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
homepage = "https://proxy.vulpes.one/gemini/gem.limpet.net/agate";
changelog = "https://proxy.vulpes.one/gemini/gem.limpet.net/agate";

View File

@ -705,7 +705,9 @@ in
afpfs-ng = callPackage ../tools/filesystems/afpfs-ng { };
agate = callPackage ../servers/gemini/agate { };
agate = callPackage ../servers/gemini/agate {
inherit (darwin.apple_sdk.frameworks) Security;
};
agda-pkg = callPackage ../development/tools/agda-pkg { };