diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2016-08-06 17:28:50 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2016-08-06 17:29:25 +0200 |
commit | 7aaf75608fc75e0213f630c860c962bf179686e0 (patch) | |
tree | 81274645104fd4aaf59ea0c8acd74f6c5c39bbd2 /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 20f009d56df9a0e5f224761ba48aa4142564753e (diff) | |
download | nixpkgs-7aaf75608fc75e0213f630c860c962bf179686e0.tar nixpkgs-7aaf75608fc75e0213f630c860c962bf179686e0.tar.gz nixpkgs-7aaf75608fc75e0213f630c860c962bf179686e0.tar.bz2 nixpkgs-7aaf75608fc75e0213f630c860c962bf179686e0.tar.lz nixpkgs-7aaf75608fc75e0213f630c860c962bf179686e0.tar.xz nixpkgs-7aaf75608fc75e0213f630c860c962bf179686e0.tar.zst nixpkgs-7aaf75608fc75e0213f630c860c962bf179686e0.zip |
haskellPackages.fsnotify: add darwin build dependency
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 53d810372a4..62fd1d1542f 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -160,7 +160,9 @@ self: super: { # FSEvents API is very buggy and tests are unreliable. See # http://openradar.appspot.com/10207999 and similar issues. # https://github.com/haskell-fswatch/hfsnotify/issues/62 - fsnotify = dontCheck super.fsnotify; # if pkgs.stdenv.isDarwin then dontCheck super.fsnotify else super.fsnotify; + fsnotify = if pkgs.stdenv.isDarwin + then addBuildDepend (dontCheck super.fsnotify) pkgs.darwin.apple_sdk.frameworks.Cocoa + else dontCheck 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; |