git-annex: fix build on Darwin

This commit is contained in:
Peter Simons 2015-02-04 12:57:20 +01:00
parent 638ea434cb
commit fbaf6dcbb0

View file

@ -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;