1
0
Fork 1
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:
Mario Rodas 2020-03-21 06:24:00 -05:00
parent 428bb7d2b8
commit d77fc69768
2 changed files with 7 additions and 2 deletions

View file

@ -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
];

View file

@ -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