From 87e2ac71ad4808055f94f7e0ae495fcea595e037 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 14 Oct 2014 15:01:19 +0200 Subject: [PATCH] fsnotify: use the hfsevents notify back-end when build on non-Linux platforms This patch (hopefully) fixes the Darwin build. --- pkgs/top-level/haskell-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index ccb608ff7d6..fec70c89547 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -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 {};