git-annex: fix build on Darwin

wip/yesman
Peter Simons 9 years ago
parent 638ea434cb
commit fbaf6dcbb0
  1. 8
      pkgs/development/haskell-modules/configuration-common.nix

@ -36,8 +36,12 @@ self: super: {
# Link the proper version.
zeromq4-haskell = super.zeromq4-haskell.override { zeromq = pkgs.zeromq4; };
# "curl" means pkgs.curl
git-annex = super.git-annex.override { inherit (pkgs) git rsync gnupg1 curl lsof openssh which bup perl wget; };
# These changes are required to support Darwin.
git-annex = super.git-annex.override {
dbus = if pkgs.stdenv.isLinux then self.dbus else null;
fdo-notify = if pkgs.stdenv.isLinux then self.fdo-notify else null;
hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify;
};
# Depends on code distributed under a non-free license.
bindings-yices = dontDistribute super.bindings-yices;

Loading…
Cancel
Save