diff --git a/pkgs/servers/documize-community/default.nix b/pkgs/servers/documize-community/default.nix index 7780d900badf..a6477d61e984 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 ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 83d7248bee97..6643f3456605 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };