synergy: fix darwin build
This commit is contained in:
parent
a73bfdf3a7
commit
29e68d765b
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, fetchpatch, fetchurl, cmake, xlibsWrapper
|
{ stdenv, lib, fetchFromGitHub, fetchpatch, fetchurl, cmake, xlibsWrapper
|
||||||
, ApplicationServices, Carbon, Cocoa, CoreServices, ScreenSaver, cf-private
|
, ApplicationServices, Carbon, Cocoa, CoreServices, ScreenSaver
|
||||||
, libX11, libXi, libXtst, libXrandr, xinput, curl, openssl, unzip }:
|
, libX11, libXi, libXtst, libXrandr, xinput, curl, openssl, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake curl openssl
|
cmake curl openssl
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
ApplicationServices Carbon Cocoa CoreServices ScreenSaver cf-private
|
ApplicationServices Carbon Cocoa CoreServices ScreenSaver
|
||||||
] ++ lib.optionals stdenv.isLinux [ xlibsWrapper libX11 libXi libXtst libXrandr xinput ];
|
] ++ lib.optionals stdenv.isLinux [ xlibsWrapper libX11 libXi libXtst libXrandr xinput ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -20333,7 +20333,7 @@ in
|
||||||
syncthing-tray = callPackage ../applications/misc/syncthing-tray { };
|
syncthing-tray = callPackage ../applications/misc/syncthing-tray { };
|
||||||
|
|
||||||
synergy = callPackage ../applications/misc/synergy {
|
synergy = callPackage ../applications/misc/synergy {
|
||||||
inherit (darwin) cf-private;
|
stdenv = if stdenv.cc.isClang then llvmPackages_5.stdenv else stdenv;
|
||||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa CoreServices ScreenSaver;
|
inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa CoreServices ScreenSaver;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue