git-annex: apply patch to fix the build with ghc-8.8.x
Unfortunately, we cannot compile git-annex with S3 support in an LTS-15.x environment, because the 'aws' library hasn't updated to version 3.x of the 'network' library [1]. I tried whether it's possible to build git-annex with an older version of network, but the amount of overrides we'd have to configure to accomplish that got out of hand quickly. So I disabled aws support [2]. If you need S3 support in git-annex, please help upstream to update 'aws' so that it builds with recent versions of 'network'. [1] https://github.com/aristidb/aws/issues/264 [2] https://github.com/NixOS/cabal2nix/commit/1d0459f40e0fa7483fc5c482dcbca1e1db4c40db
This commit is contained in:
@@ -69,7 +69,7 @@ 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 = (overrideSrc super.git-annex {
|
||||
git-annex = (overrideSrc (appendPatch super.git-annex ./patches/git-annex-fix-build-with-ghc-8.8.x.patch) {
|
||||
src = pkgs.fetchgit {
|
||||
name = "git-annex-${super.git-annex.version}-src";
|
||||
url = "git://git-annex.branchable.com/";
|
||||
|
||||
Reference in New Issue
Block a user