git-annex: add overrides to fix the build in an lts-11.x environment

This commit is contained in:
Peter Simons 2018-03-15 19:45:12 +01:00
parent e14fa3f228
commit de7847e683

View file

@ -75,13 +75,30 @@ self: super: {
# The Hackage tarball is purposefully broken, because it's not intended to be, like, useful.
# https://git-annex.branchable.com/bugs/bash_completion_file_is_missing_in_the_6.20160527_tarball_on_hackage/
git-annex = (overrideCabal super.git-annex (drv: {
git-annex = ((overrideCabal super.git-annex (drv: {
src = pkgs.fetchgit {
name = "git-annex-${drv.version}-src";
url = "git://git-annex.branchable.com/";
rev = "refs/tags/" + drv.version;
sha256 = "0fdcv9nig896ckl9x51ximxsvja1ii8qysf6c9ickvc0511hvr9w";
};
})).overrideScope (self: super: {
aws = dontCheck (self.aws_0_18);
conduit = self.conduit_1_2_13_1;
conduit-extra = self.conduit-extra_1_2_3_2;
cryptonite-conduit = dontCheck super.cryptonite-conduit; # test suite does not compile with old versions used here
html-conduit = self.html-conduit_1_2_1_2;
http-conduit = self.http-conduit_2_2_4;
persistent = self.persistent_2_7_3_1;
persistent-sqlite = self.persistent-sqlite_2_6_4;
resourcet = self.resourcet_1_1_11;
xml-conduit = self.xml-conduit_1_7_1_2;
yesod = self.yesod_1_4_5;
yesod-core = self.yesod-core_1_4_37_3;
yesod-form = self.yesod-form_1_4_16;
yesod-persistent = self.yesod-persistent_1_4_3;
yesod-static = self.yesod-static_1_5_3_1;
yesod-test = self.yesod-test_1_5_9_1;
})).override {
dbus = if pkgs.stdenv.isLinux then self.dbus else null;
fdo-notify = if pkgs.stdenv.isLinux then self.fdo-notify else null;