summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2017-03-02 12:17:36 +0100
committerPeter Simons <simons@cryp.to>2017-03-02 22:11:58 +0100
commitb923fd5253d797b95b2ce617217954416d827d66 (patch)
treeb1813448e862fa1f2aeb16ae75c57e07491d54f9
parent090921fa5f4943e50464b6e7953c2d1935a019f7 (diff)
downloadnixpkgs-b923fd5253d797b95b2ce617217954416d827d66.tar
nixpkgs-b923fd5253d797b95b2ce617217954416d827d66.tar.gz
nixpkgs-b923fd5253d797b95b2ce617217954416d827d66.tar.bz2
nixpkgs-b923fd5253d797b95b2ce617217954416d827d66.tar.lz
nixpkgs-b923fd5253d797b95b2ce617217954416d827d66.tar.xz
nixpkgs-b923fd5253d797b95b2ce617217954416d827d66.tar.zst
nixpkgs-b923fd5253d797b95b2ce617217954416d827d66.zip
git-annex 6.20170301.1 tarballs are no longer available anywhere; now we must use fetchgit
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index db9a8d57398..bbd02b4dc9f 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -59,14 +59,13 @@ self: super: {
   # Link the proper version.
   zeromq4-haskell = super.zeromq4-haskell.override { zeromq = pkgs.zeromq4; };
 
-  # The Hackage tarball is purposefully broken. Mr. Hess wants people to build
-  # his package from the Git repo because that is, like, better!
+  # 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: {
-    src = pkgs.fetchFromGitHub {
-      owner = "joeyh";
-      repo = "git-annex";
-      sha256 = "0f79i2i1cr8j02vc4ganw92prbkv9ca1yl9jgkny0rxf28wdlc6v";
-      rev = drv.version;
+    src = pkgs.fetchgit {
+      url = "git://git-annex.branchable.com/";
+      rev = "refs/tags/" + drv.version;
+      sha256 = "0irvzwpwxxdy6qs7jj81r6qk7i1gkkqyaza4wcm0phyyn07yh2sz";
     };
   }))).override {
     dbus = if pkgs.stdenv.isLinux then self.dbus else null;