1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00

git-annex 6.20170301.1 tarballs are no longer available anywhere; now we must use fetchgit

This commit is contained in:
Peter Simons 2017-03-02 12:17:36 +01:00
parent 090921fa5f
commit b923fd5253

View file

@ -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;