From d6c9efa223a9bb39b38378b5ee5e7b5490a70071 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Tue, 15 May 2018 23:16:15 -0500 Subject: watchman: add fsevents support macOS needs apple sdks for fsevents support Fixes #14309 --- pkgs/development/tools/watchman/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkgs/development/tools/watchman') diff --git a/pkgs/development/tools/watchman/default.nix b/pkgs/development/tools/watchman/default.nix index 15f265e31e3..b349ecf61e1 100644 --- a/pkgs/development/tools/watchman/default.nix +++ b/pkgs/development/tools/watchman/default.nix @@ -1,6 +1,7 @@ { stdenv, lib, config, fetchFromGitHub, autoconf, automake, pcre, libtool, pkgconfig, openssl, - confFile ? config.watchman.confFile or null + confFile ? config.watchman.confFile or null, + withApple ? stdenv.isDarwin, CoreServices, CoreFoundation }: stdenv.mkDerivation rec { @@ -15,7 +16,8 @@ stdenv.mkDerivation rec { sha256 = "0fdaj5pmicm6j17d5q7px800m5rmam1a400x3hv1iiifnmhgnkal"; }; - buildInputs = [ pcre openssl ]; + buildInputs = [ pcre openssl ] + ++ lib.optionals withApple [ CoreFoundation CoreServices ]; nativeBuildInputs = [ autoconf automake pkgconfig libtool ]; configureFlags = [ -- cgit 1.4.1