summary refs log tree commit diff
path: root/pkgs/servers/documize-community
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-21 04:58:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-21 04:58:00 -0500
commitae47111f90316be0459bf297cf1f8b0241244972 (patch)
tree2b9c20f0ae281f350f1133637e7381ce008356dd /pkgs/servers/documize-community
parent5480f994e9fae7f53da1720de46844c2d56e37d4 (diff)
downloadnixpkgs-ae47111f90316be0459bf297cf1f8b0241244972.tar
nixpkgs-ae47111f90316be0459bf297cf1f8b0241244972.tar.gz
nixpkgs-ae47111f90316be0459bf297cf1f8b0241244972.tar.bz2
nixpkgs-ae47111f90316be0459bf297cf1f8b0241244972.tar.lz
nixpkgs-ae47111f90316be0459bf297cf1f8b0241244972.tar.xz
nixpkgs-ae47111f90316be0459bf297cf1f8b0241244972.tar.zst
nixpkgs-ae47111f90316be0459bf297cf1f8b0241244972.zip
documize-community: fix build on darwin
Diffstat (limited to 'pkgs/servers/documize-community')
-rw-r--r--pkgs/servers/documize-community/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/servers/documize-community/default.nix b/pkgs/servers/documize-community/default.nix
index 7780d900bad..a6477d61e98 100644
--- a/pkgs/servers/documize-community/default.nix
+++ b/pkgs/servers/documize-community/default.nix
@@ -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 ];