diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 06:24:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 06:24:00 -0500 |
commit | d77fc69768c7b96311a20d2edffe187ebe97dc68 (patch) | |
tree | d861d2f64f1649f174b7c039067e00aeadc9116d /pkgs/applications/networking/syncthing | |
parent | 428bb7d2b8bb7e22e3f41be2b0c05c42a0581669 (diff) |
syncthing: fix build on darwin
Diffstat (limited to 'pkgs/applications/networking/syncthing')
-rw-r--r-- | pkgs/applications/networking/syncthing/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index 516acab10f8b..0fd3a5ca2801 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -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 ]; |