about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2016-06-07 18:10:08 +0200
committerPeter Simons <simons@cryp.to>2016-06-07 21:59:52 +0200
commit71fc5083be0a87f7520622a86d9520d5f9430b32 (patch)
treeb15ecf133edf712c6960c68cffe7308a32723d23 /pkgs
parent637f901f3e1a7ccded3a82469e6f19c7f36ee0ee (diff)
downloadnixlib-71fc5083be0a87f7520622a86d9520d5f9430b32.tar
nixlib-71fc5083be0a87f7520622a86d9520d5f9430b32.tar.gz
nixlib-71fc5083be0a87f7520622a86d9520d5f9430b32.tar.bz2
nixlib-71fc5083be0a87f7520622a86d9520d5f9430b32.tar.lz
nixlib-71fc5083be0a87f7520622a86d9520d5f9430b32.tar.xz
nixlib-71fc5083be0a87f7520622a86d9520d5f9430b32.tar.zst
nixlib-71fc5083be0a87f7520622a86d9520d5f9430b32.zip
git-annex: work around Joey Hess' latest brain fart
Now we're releasing incomplete Hackage tarballs on purpose:

  http://git-annex.branchable.com/bugs/bash_completion_file_is_missing_in_the_6.20160527_tarball_on_hackage/

You know, I'll fix this shit one last time, but on the next occasion
upstream breaks the build for no apparent reason, I'm going to abandon
this project and leave it to someone else to package, because these kind
of wacko engineering decisions cast a bad light on the soundness of
git-annex as a whole, IMHO.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 5fc1aa9d519a..39146965b0f4 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -65,7 +65,21 @@ self: super: {
     fdo-notify = if pkgs.stdenv.isLinux then self.fdo-notify else null;
     hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify;
   };
-  git-annex-with-assistant = super.git-annex.override {
+  # Joey Hess is nuts. The release tarball uploaded to Hackage deliberately
+  # lacks files to break in the installation procedure, because ... you know
+  # ... because! He feels people shouldn't use the tarballs he publishes and
+  # instead use the git repository instead. Which makes me seriously wonder why
+  # the f*ck I'm spending my spare time packaging this crap when I could just
+  # as well install Syncthing in the time I routinely waste adding kludges to
+  # work around this guy's crazy ideas of how to express his individuality.
+  git-annex-with-assistant = (overrideCabal super.git-annex (drv: {
+    src = pkgs.fetchFromGitHub {
+      owner = "joeyh";
+      repo = "git-annex";
+      sha256 = "1cmyf94jvfjwiibmhkkbrplq63g1yvy5kn65993zs10zgcfip3jb";
+      rev = drv.version;
+    };
+  })).override {
     dbus = if pkgs.stdenv.isLinux then self.dbus else null;
     fdo-notify = if pkgs.stdenv.isLinux then self.fdo-notify else null;
     hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify;