shiori: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:59:00 -05:00
parent b11d54582d
commit 7a84da8ac8
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "shiori";
@ -13,6 +13,8 @@ buildGoModule rec {
sha256 = "13and7gh2882khqppwz3wwq44p7az4bfdfjvlnqcpqyi8xa28pmq";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Simple bookmark manager built with Go";
homepage = "https://github.com/go-shiori/shiori";

View file

@ -16210,7 +16210,9 @@ in
shaarli-material = callPackage ../servers/web-apps/shaarli/material-theme.nix { };
shiori = callPackage ../servers/web-apps/shiori { };
shiori = callPackage ../servers/web-apps/shiori {
inherit (darwin.apple_sdk.frameworks) Security;
};
inherit (callPackages ../servers/web-apps/matomo {})
matomo