This overrides the upstream derivation to: * use local sources * build `git send-email` It also calls autoreconf before building because files that are included in the git distribution tarball (which the normal derivation uses) are missing from source.
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			350 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			350 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| # Use the upstream git derivation (there's a lot of stuff happening in
 | |
| # there!) and just override the source:
 | |
| { pkgs, ... }:
 | |
| 
 | |
| with pkgs.third_party;
 | |
| 
 | |
| (originals.git.overrideAttrs(_: {
 | |
|   version = "2.23.0";
 | |
|   src = ./.;
 | |
|   doInstallCheck = false;
 | |
|   preConfigure = ''
 | |
|     ${autoconf}/bin/autoreconf -i
 | |
|   '';
 | |
| })).override {
 | |
|   sendEmailSupport = true;
 | |
| }
 |