mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
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
|
||||
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
|
||||
];
|
||||
|
|
|
@ -22069,7 +22069,10 @@ in
|
|||
|
||||
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-cli
|
||||
syncthing-discovery
|
||||
|
|
Loading…
Reference in a new issue