mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 11:02:05 +00:00
synergy: fix compilation on macOS
cf-private is needed to build on macOS
This commit is contained in:
parent
11cd6aeb0c
commit
f84e353831
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, lib, fetchFromGitHub, fetchpatch, fetchurl, cmake, xlibsWrapper
|
||||
, ApplicationServices, Carbon, Cocoa, CoreServices, ScreenSaver
|
||||
, ApplicationServices, Carbon, Cocoa, CoreServices, ScreenSaver, cf-private
|
||||
, libX11, libXi, libXtst, libXrandr, xinput, curl, openssl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
cmake curl openssl
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
ApplicationServices Carbon Cocoa CoreServices ScreenSaver
|
||||
ApplicationServices Carbon Cocoa CoreServices ScreenSaver cf-private
|
||||
] ++ lib.optionals stdenv.isLinux [ xlibsWrapper libX11 libXi libXtst libXrandr xinput ];
|
||||
|
||||
installPhase = ''
|
||||
|
|
|
@ -19495,6 +19495,7 @@ in
|
|||
syncthing-tray = callPackage ../applications/misc/syncthing-tray { };
|
||||
|
||||
synergy = callPackage ../applications/misc/synergy {
|
||||
inherit (darwin) cf-private;
|
||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa CoreServices ScreenSaver;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue