Add an HTTP binary cache store
Allowing stuff like NIX_REMOTE=https://cache.nixos.org nix-store -qR /nix/store/x1p1gl3a4kkz5ci0nfbayjqlqmczp1kq-geeqie-1.1 or NIX_REMOTE=https://cache.nixos.org nix-store --export /nix/store/x1p1gl3a4kkz5ci0nfbayjqlqmczp1kq-geeqie-1.1 | nix-store --import
This commit is contained in:
		
							parent
							
								
									6170bb474b
								
							
						
					
					
						commit
						e9c50064b5
					
				
					 7 changed files with 102 additions and 61 deletions
				
			
		|  | @ -158,7 +158,7 @@ int main(int argc, char * * argv) | |||
|             auto actualUri = resolveMirrorUri(state, uri); | ||||
| 
 | ||||
|             /* Download the file. */ | ||||
|             auto result = downloadFile(actualUri, DownloadOptions()); | ||||
|             auto result = makeDownloader()->download(actualUri, DownloadOptions()); | ||||
| 
 | ||||
|             AutoDelete tmpDir(createTempDir(), true); | ||||
|             Path tmpFile = (Path) tmpDir + "/tmp"; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue