diff options
author | Peter Simons <simons@cryp.to> | 2017-05-20 11:00:45 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2017-05-21 11:49:35 +0200 |
commit | de388b69be8937beb583e3b91ae878e0257cca12 (patch) | |
tree | 675f9804470cee48aff9f01e493b7d5e8dd89a89 /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 1f602fe5076d073772550e1b41316758733d97e0 (diff) | |
download | nixlib-de388b69be8937beb583e3b91ae878e0257cca12.tar nixlib-de388b69be8937beb583e3b91ae878e0257cca12.tar.gz nixlib-de388b69be8937beb583e3b91ae878e0257cca12.tar.bz2 nixlib-de388b69be8937beb583e3b91ae878e0257cca12.tar.lz nixlib-de388b69be8937beb583e3b91ae878e0257cca12.tar.xz nixlib-de388b69be8937beb583e3b91ae878e0257cca12.tar.zst nixlib-de388b69be8937beb583e3b91ae878e0257cca12.zip |
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.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 2caa10a84113..838f73ef13c5 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"; |