diff options
author | Jude Taylor <me@jude.bio> | 2015-06-20 15:29:42 -0700 |
---|---|---|
committer | Jude Taylor <me@jude.bio> | 2015-06-20 15:29:55 -0700 |
commit | a4fbe26ec808c139c1cba8676095645dcbdde5f7 (patch) | |
tree | 0a1c2a81664b78cc01e5b20a8619bda8e210cfc8 /pkgs/development/haskell-modules | |
parent | 507bb016cc1acb39f1a913b60a5c5241157ce45b (diff) | |
download | nixlib-a4fbe26ec808c139c1cba8676095645dcbdde5f7.tar nixlib-a4fbe26ec808c139c1cba8676095645dcbdde5f7.tar.gz nixlib-a4fbe26ec808c139c1cba8676095645dcbdde5f7.tar.bz2 nixlib-a4fbe26ec808c139c1cba8676095645dcbdde5f7.tar.lz nixlib-a4fbe26ec808c139c1cba8676095645dcbdde5f7.tar.xz nixlib-a4fbe26ec808c139c1cba8676095645dcbdde5f7.tar.zst nixlib-a4fbe26ec808c139c1cba8676095645dcbdde5f7.zip |
darwin purity: haskell-hfsevents
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 751e0fb4825b..32098b0c7dbe 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -192,7 +192,11 @@ self: super: { # cabal2nix likes to generate dependencies on hinotify when hfsevents is really required # on darwin: https://github.com/NixOS/cabal2nix/issues/146 - hinotify = if pkgs.stdenv.isDarwin then super.hfsevents else super.hinotify; + hinotify = if pkgs.stdenv.isDarwin then self.hfsevents else super.hinotify; + + hfsevents = if pkgs.stdenv.isDarwin + then addBuildTool super.hfsevents pkgs.darwin.apple_sdk.frameworks.CoreServices + else super.hfsevents; # FSEvents API is very buggy and tests are unreliable. See # http://openradar.appspot.com/10207999 and similar issues |