syncthing: fix build on darwin
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user