Fix fetchurl/fetchTarball
This commit is contained in:
		
							parent
							
								
									1c88e100e7
								
							
						
					
					
						commit
						c1323b53e3
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1515,7 +1515,8 @@ void fetch(EvalState & state, const Pos & pos, Value * * args, Value & v, | |||
|     } else | ||||
|         url = state.forceStringNoCtx(*args[0], pos); | ||||
| 
 | ||||
|     mkString(v, downloadFileCached(url, unpack), PathSet({url})); | ||||
|     Path res = downloadFileCached(url, unpack); | ||||
|     mkString(v, res, PathSet({res})); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue