git.iko.soy/typeable/nixpkgs
on master help sign in
haskellPackages.fsnotify: add darwin build dependency
commit7aaf75608fc75e0213f630c860c962bf179686e0 authorDaiderd Jordan <daiderd@gmail.com> dateSat 6 Aug 2016, 17:28 (10 years ago) parent20f009d
1 file changed+3−1
pkgs/development/haskell-modules/configuration-common.nix+3−1
pkgs/development/haskell-modules/configuration-common.nix+3−1
@@ -160,7 +160,9 @@ self: super: {
160160 # FSEvents API is very buggy and tests are unreliable. See
161161 # http://openradar.appspot.com/10207999 and similar issues.
162162 # https://github.com/haskell-fswatch/hfsnotify/issues/62
163− fsnotify = dontCheck super.fsnotify; # if pkgs.stdenv.isDarwin then dontCheck super.fsnotify else super.fsnotify;
163+ fsnotify = if pkgs.stdenv.isDarwin
164+ then addBuildDepend (dontCheck super.fsnotify) pkgs.darwin.apple_sdk.frameworks.Cocoa
165+ else dontCheck super.fsnotify;
164166
165167 # the system-fileio tests use canonicalizePath, which fails in the sandbox
166168 system-fileio = if pkgs.stdenv.isDarwin then dontCheck super.system-fileio else super.system-fileio;