From de7847e683db12611bff58cd6813cef07768ae2c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 15 Mar 2018 19:45:12 +0100 Subject: [PATCH] git-annex: add overrides to fix the build in an lts-11.x environment --- .../haskell-modules/configuration-common.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 042d76cb0c7..e2886d24597 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -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;