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:
parent
c2281cbf5d
commit
a0bbe1aa27
@ -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; {
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user