darwin purity: haskell-system-fileio

This commit is contained in:
Jude Taylor 2015-06-21 00:57:41 -07:00
parent d28e5f1c61
commit 3af62f18f2

View File

@ -194,6 +194,7 @@ self: super: {
# on darwin: https://github.com/NixOS/cabal2nix/issues/146
hinotify = if pkgs.stdenv.isDarwin then self.hfsevents else super.hinotify;
# hfsevents needs CoreServices in scope
hfsevents = if pkgs.stdenv.isDarwin
then addBuildTool super.hfsevents pkgs.darwin.apple_sdk.frameworks.CoreServices
else super.hfsevents;
@ -202,6 +203,9 @@ self: super: {
# http://openradar.appspot.com/10207999 and similar issues
fsnotify = if pkgs.stdenv.isDarwin then dontCheck super.fsnotify else super.fsnotify;
# the system-fileio tests use canonicalizePath, which fails in the sandbox
system-fileio = if pkgs.stdenv.isDarwin then dontCheck super.system-fileio else super.system-fileio;
# Prevents needing to add security_tool as a build tool to all of x509-system's
# dependencies.
# TODO: use pkgs.darwin.security_tool once we can build it