Merge pull request #63333 from knl/enable-fsevents-api-for-fswatch

fswatch: Enable FSEvents API on Darwin
This commit is contained in:
Bas van Dijk 2019-06-18 09:26:20 +02:00 committed by GitHub
commit ad96121365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,7 @@
, libtool , libtool
, makeWrapper , makeWrapper
, texinfo , texinfo
, CoreServices
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -19,7 +20,7 @@ stdenv.mkDerivation rec {
sha256 = "1d1fvm36qgh6a5j9v24wai61d297pvzxr14jngjlhh4i474ff21i"; sha256 = "1d1fvm36qgh6a5j9v24wai61d297pvzxr14jngjlhh4i474ff21i";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
buildInputs = [ gettext libtool makeWrapper texinfo ]; buildInputs = [ gettext libtool makeWrapper texinfo ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -9188,7 +9188,9 @@ in
fsatrace = callPackage ../development/tools/misc/fsatrace { }; fsatrace = callPackage ../development/tools/misc/fsatrace { };
fswatch = callPackage ../development/tools/misc/fswatch { }; fswatch = callPackage ../development/tools/misc/fswatch {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
funnelweb = callPackage ../development/tools/literate-programming/funnelweb { }; funnelweb = callPackage ../development/tools/literate-programming/funnelweb { };