fswatch: Enable FSEvents API on Darwin

On Darwin we can benefit from FSEvents API (that fswatch supports) in order to
have better monitoring of file system changes.
This commit is contained in:
Nikola Knezevic 2019-06-17 15:06:02 +02:00
parent c2281cbf5d
commit a0bbe1aa27
2 changed files with 5 additions and 2 deletions

View File

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

View File

@ -9188,7 +9188,9 @@ in
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 { };