From 5a1ff51ed3683e4b048ebc7152ec627bc900673a Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 22 Jun 2021 18:11:25 +0200 Subject: [PATCH] haskellPackages.git-annex: fix hash mismatch on darwin --- .../development/haskell-modules/configuration-common.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 930e2513872a..1c3cbbbbe31f 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -64,7 +64,14 @@ self: super: { name = "git-annex-${super.git-annex.version}-src"; url = "git://git-annex.branchable.com/"; rev = "refs/tags/" + super.git-annex.version; - sha256 = "0s9md7bzblzxlpbpna1wa6pxaf44l4g7s0xqwj6rci7h7kp55qqv"; + sha256 = "1hf2i36ayscdg7fa81akx031chg8c3scbjphj4c1qawif41bynmm"; + # delete android and Android directories which cause issues on + # darwin (case insensitive directory). Since we don't need them + # during the build process, we can delete it to prevent a hash + # mismatch on darwin. + postFetch = '' + rm -r $out/doc/?ndroid* + ''; }; }).override { dbus = if pkgs.stdenv.isLinux then self.dbus else null;