mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
darwin purity: haskell-system-fileio
This commit is contained in:
parent
d28e5f1c61
commit
3af62f18f2
1 changed files with 4 additions and 0 deletions
|
@ -194,6 +194,7 @@ self: super: {
|
||||||
# on darwin: https://github.com/NixOS/cabal2nix/issues/146
|
# on darwin: https://github.com/NixOS/cabal2nix/issues/146
|
||||||
hinotify = if pkgs.stdenv.isDarwin then self.hfsevents else super.hinotify;
|
hinotify = if pkgs.stdenv.isDarwin then self.hfsevents else super.hinotify;
|
||||||
|
|
||||||
|
# hfsevents needs CoreServices in scope
|
||||||
hfsevents = if pkgs.stdenv.isDarwin
|
hfsevents = if pkgs.stdenv.isDarwin
|
||||||
then addBuildTool super.hfsevents pkgs.darwin.apple_sdk.frameworks.CoreServices
|
then addBuildTool super.hfsevents pkgs.darwin.apple_sdk.frameworks.CoreServices
|
||||||
else super.hfsevents;
|
else super.hfsevents;
|
||||||
|
@ -202,6 +203,9 @@ self: super: {
|
||||||
# http://openradar.appspot.com/10207999 and similar issues
|
# http://openradar.appspot.com/10207999 and similar issues
|
||||||
fsnotify = if pkgs.stdenv.isDarwin then dontCheck super.fsnotify else super.fsnotify;
|
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
|
# Prevents needing to add security_tool as a build tool to all of x509-system's
|
||||||
# dependencies.
|
# dependencies.
|
||||||
# TODO: use pkgs.darwin.security_tool once we can build it
|
# TODO: use pkgs.darwin.security_tool once we can build it
|
||||||
|
|
Loading…
Reference in a new issue