documize-community: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:58:00 -05:00
parent 5480f994e9
commit ae47111f90
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs }:
{ stdenv, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs, Security }:
buildGoModule rec {
pname = "documize-community";
@ -15,6 +15,8 @@ buildGoModule rec {
nativeBuildInputs = [ go-bindata go-bindata-assetfs ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "edition/community.go" ];
postInstall = ''
@ -23,7 +25,7 @@ buildGoModule rec {
mv $out/bin/community $out/bin/documize
'';
meta = with lib; {
meta = with stdenv.lib; {
description = "Open source Confluence alternative for internal & external docs built with Golang + EmberJS";
license = licenses.agpl3;
maintainers = with maintainers; [ ma27 elseym ];

View File

@ -17713,7 +17713,9 @@ in
documentation-highlighter = callPackage ../misc/documentation-highlighter { };
documize-community = callPackage ../servers/documize-community { };
documize-community = callPackage ../servers/documize-community {
inherit (darwin.apple_sdk.frameworks) Security;
};
doge = callPackage ../misc/doge { };