From de388b69be8937beb583e3b91ae878e0257cca12 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 20 May 2017 11:00:45 +0200 Subject: [PATCH] git-annex: force a fetchgit re-fetch when the version number changes Bake the version number of git-annex into the name of the fetchgit derivation to mitigate the effects of https://github.com/NixOS/nixpkgs/issues/25755. --- pkgs/development/haskell-modules/configuration-common.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 2caa10a8411..838f73ef13c 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -64,6 +64,7 @@ self: super: { # 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: { src = pkgs.fetchgit { + name = "git-annex-${drv.version}-src"; url = "git://git-annex.branchable.com/"; rev = "refs/tags/" + drv.version; sha256 = "0i08zxk68kbg6k0d9af97r9nr5vidsy63hx22fdp7c5jp64f967q";