diff options
author | Nikola Knezevic <nikola@knezevic.ch> | 2019-06-17 15:06:02 +0200 |
---|---|---|
committer | Nikola Knezevic <nikola@knezevic.ch> | 2019-06-17 15:06:04 +0200 |
commit | a0bbe1aa27f7a0d97813e87087baf16e069c8067 (patch) | |
tree | 3cd7b33f2fd9e6d7a53cab53eb5031689e514020 /pkgs/development/tools/misc/fswatch | |
parent | c2281cbf5d2d969efd709e821bf6c65f8133fddc (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.nix | 3 |
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; { |