* Doh! The deriver can be empty.
This commit is contained in:
		
							parent
							
								
									044b6482c1
								
							
						
					
					
						commit
						2ea3bebc23
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -826,7 +826,8 @@ Path LocalStore::importPath(bool requireSignature, Source & source)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    PathSet references = readStorePaths(hashAndReadSource);
 | 
					    PathSet references = readStorePaths(hashAndReadSource);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Path deriver = readStorePath(hashAndReadSource);
 | 
					    Path deriver = readString(hashAndReadSource);
 | 
				
			||||||
 | 
					    if (deriver != "") assertStorePath(deriver);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Hash hash = hashAndReadSource.hashSink.finish();
 | 
					    Hash hash = hashAndReadSource.hashSink.finish();
 | 
				
			||||||
    hashAndReadSource.hashing = false;
 | 
					    hashAndReadSource.hashing = false;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue