git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit71fc5083be0a87f7520622a86d9520d5f9430b32 authorPeter Simons <simons@cryp.to> dateTue 7 Jun 2016, 18:10 (10 years ago) parent637f901
1 file changed+15−1
pkgs/development/haskell-modules/configuration-common.nix+15−1
pkgs/development/haskell-modules/configuration-common.nix+15−1
@@ -65,7 +65,21 @@ self: super: {
6565 fdo-notify = if pkgs.stdenv.isLinux then self.fdo-notify else null;
6666 hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify;
6767 };
68− git-annex-with-assistant = super.git-annex.override {
68+ # Joey Hess is nuts. The release tarball uploaded to Hackage deliberately
69+ # lacks files to break in the installation procedure, because ... you know
70+ # ... because! He feels people shouldn't use the tarballs he publishes and
71+ # instead use the git repository instead. Which makes me seriously wonder why
72+ # the f*ck I'm spending my spare time packaging this crap when I could just
73+ # as well install Syncthing in the time I routinely waste adding kludges to
74+ # work around this guy's crazy ideas of how to express his individuality.
75+ git-annex-with-assistant = (overrideCabal super.git-annex (drv: {
76+ src = pkgs.fetchFromGitHub {
77+ owner = "joeyh";
78+ repo = "git-annex";
79+ sha256 = "1cmyf94jvfjwiibmhkkbrplq63g1yvy5kn65993zs10zgcfip3jb";
80+ rev = drv.version;
81+ };
82+ })).override {
6983 dbus = if pkgs.stdenv.isLinux then self.dbus else null;
7084 fdo-notify = if pkgs.stdenv.isLinux then self.fdo-notify else null;
7185 hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify;