Skip to content

Commit

Permalink
Merge pull request #63333 from knl/enable-fsevents-api-for-fswatch
Browse files Browse the repository at this point in the history
fswatch: Enable FSEvents API on Darwin
  • Loading branch information
basvandijk committed Jun 18, 2019
2 parents afd0817 + a0bbe1a commit ad96121
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkgs/development/tools/misc/fswatch/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
, libtool
, makeWrapper
, texinfo
, CoreServices
}:

stdenv.mkDerivation rec {
Expand All @@ -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; {
Expand Down
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };

Expand Down

0 comments on commit ad96121

Please sign in to comment.