Additionally, anchor clang-tools to match the current llvmPackages version. Change-Id: I27a199cadb55907c3e2deabfd1d14a5b50fc541b Reviewed-on: https://cl.tvl.fyi/c/depot/+/2166 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: glittershark <grfn@gws.fyi>
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			690 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			690 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| # This library contains generated gRPC implementations for Google's
 | |
| # public libraries.
 | |
| { pkgs, ... }:
 | |
| 
 | |
| let
 | |
|   inherit (pkgs) fetchFromGitHub;
 | |
|   stdenv = with pkgs; overrideCC pkgs.stdenv clang_11;
 | |
| in stdenv.mkDerivation {
 | |
|   name = "googleapis-cpp";
 | |
|   src = ./.;
 | |
| 
 | |
|   GOOGLEAPIS_DIR = fetchFromGitHub {
 | |
|     owner = "googleapis";
 | |
|     repo = "googleapis";
 | |
|     rev = "0aba1900ffef672ec5f0da677cf590ee5686e13b";
 | |
|     sha256 = "1174mvipmzap4h8as1cl44y1kq7ikipdicnmnswv5yswgkwla84c";
 | |
|   };
 | |
| 
 | |
|   buildInputs = with pkgs; [
 | |
|     c-ares c-ares.cmake-config grpc protobuf openssl zlib
 | |
|   ];
 | |
| 
 | |
|   nativeBuildInputs = with pkgs; [ cmake pkgconfig ];
 | |
| 
 | |
|   # Builds are failing, that's not good.
 | |
|   meta.ci = false;
 | |
| }
 |