summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorJude Taylor <me@jude.bio>2015-06-21 00:57:41 -0700
committerJude Taylor <me@jude.bio>2015-06-21 00:57:41 -0700
commit3af62f18f2e78ae312486862e20959086e10f5ce (patch)
treec11c00e0c36efe2cd057b5849d54bf2e00013eb3 /pkgs/development/haskell-modules
parentd28e5f1c61e160ddc8bcdc93b11c4cda0f7a9a91 (diff)
downloadnixlib-3af62f18f2e78ae312486862e20959086e10f5ce.tar
nixlib-3af62f18f2e78ae312486862e20959086e10f5ce.tar.gz
nixlib-3af62f18f2e78ae312486862e20959086e10f5ce.tar.bz2
nixlib-3af62f18f2e78ae312486862e20959086e10f5ce.tar.lz
nixlib-3af62f18f2e78ae312486862e20959086e10f5ce.tar.xz
nixlib-3af62f18f2e78ae312486862e20959086e10f5ce.tar.zst
nixlib-3af62f18f2e78ae312486862e20959086e10f5ce.zip
darwin purity: haskell-system-fileio
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 32098b0c7dbe..0ea34e55cb89 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -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