aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/tools/misc/fswatch
diff options
context:
space:
mode:
authorNikola Knezevic <nikola@knezevic.ch>2019-06-17 15:06:02 +0200
committerNikola Knezevic <nikola@knezevic.ch>2019-06-17 15:06:04 +0200
commita0bbe1aa27f7a0d97813e87087baf16e069c8067 (patch)
tree3cd7b33f2fd9e6d7a53cab53eb5031689e514020 /pkgs/development/tools/misc/fswatch
parentc2281cbf5d2d969efd709e821bf6c65f8133fddc (diff)
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.
Diffstat (limited to 'pkgs/development/tools/misc/fswatch')
-rw-r--r--pkgs/development/tools/misc/fswatch/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/fswatch/default.nix b/pkgs/development/tools/misc/fswatch/default.nix
index 0e4af134890..73de8eb8cb6 100644
--- a/pkgs/development/tools/misc/fswatch/default.nix
+++ b/pkgs/development/tools/misc/fswatch/default.nix
@@ -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; {