fsnotify: use the hfsevents notify back-end when build on non-Linux platforms

This patch (hopefully) fixes the Darwin build.
This commit is contained in:
Peter Simons 2014-10-14 15:01:19 +02:00
parent e6d15e9d28
commit 87e2ac71ad

View File

@ -870,7 +870,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
freeGame = callPackage ../development/libraries/haskell/free-game {};
fsnotify = callPackage ../development/libraries/haskell/fsnotify {};
fsnotify = callPackage ../development/libraries/haskell/fsnotify {
hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.hfsevents;
};
freetype2 = callPackage ../development/libraries/haskell/freetype2 {};