syncthing: fix build on darwin

This commit is contained in:
Mario Rodas
2020-03-21 06:24:00 -05:00
parent 428bb7d2b8
commit d77fc69768
2 changed files with 7 additions and 2 deletions
@@ -1,4 +1,4 @@
{ buildGoModule, stdenv, lib, procps, fetchFromGitHub }:
{ buildGoModule, stdenv, lib, procps, fetchFromGitHub, libobjc, CoreServices, Foundation }:
let
common = { stname, target, postInstall ? "" }:
@@ -15,6 +15,8 @@ let
modSha256 = "1qq0979cm42wd3scy3blyi0hg67mkghis9r5rn2x1lqi2b982wfh";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libobjc CoreServices Foundation ];
patches = [
./add-stcli-target.patch
];