syncthing: fix build on darwin
This commit is contained in:
parent
428bb7d2b8
commit
d77fc69768
@ -1,4 +1,4 @@
|
|||||||
{ buildGoModule, stdenv, lib, procps, fetchFromGitHub }:
|
{ buildGoModule, stdenv, lib, procps, fetchFromGitHub, libobjc, CoreServices, Foundation }:
|
||||||
|
|
||||||
let
|
let
|
||||||
common = { stname, target, postInstall ? "" }:
|
common = { stname, target, postInstall ? "" }:
|
||||||
@ -15,6 +15,8 @@ let
|
|||||||
|
|
||||||
modSha256 = "1qq0979cm42wd3scy3blyi0hg67mkghis9r5rn2x1lqi2b982wfh";
|
modSha256 = "1qq0979cm42wd3scy3blyi0hg67mkghis9r5rn2x1lqi2b982wfh";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libobjc CoreServices Foundation ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./add-stcli-target.patch
|
./add-stcli-target.patch
|
||||||
];
|
];
|
||||||
|
@ -22069,7 +22069,10 @@ in
|
|||||||
|
|
||||||
syncplay = python3.pkgs.callPackage ../applications/networking/syncplay { };
|
syncplay = python3.pkgs.callPackage ../applications/networking/syncplay { };
|
||||||
|
|
||||||
inherit (callPackages ../applications/networking/syncthing { })
|
inherit (callPackages ../applications/networking/syncthing {
|
||||||
|
inherit (darwin) libobjc;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) CoreServices Foundation;
|
||||||
|
})
|
||||||
syncthing
|
syncthing
|
||||||
syncthing-cli
|
syncthing-cli
|
||||||
syncthing-discovery
|
syncthing-discovery
|
||||||
|
Loading…
x
Reference in New Issue
Block a user