* New kind of manifest object: "localPath", which denotes that a store
path can be created by copying it from another location in the file system. This is useful in the NixOS installation.
This commit is contained in:
		
							parent
							
								
									36d9258c0d
								
							
						
					
					
						commit
						bae75ca5a1
					
				
					 8 changed files with 73 additions and 22 deletions
				
			
		|  | @ -7,11 +7,12 @@ use readcache; | |||
| 
 | ||||
| # Read the manifests. | ||||
| my %narFiles; | ||||
| my %localPaths; | ||||
| my %patches; | ||||
| 
 | ||||
| foreach my $manifest (@ARGV) { | ||||
|     print STDERR "loading $manifest\n"; | ||||
|     if (readManifest($manifest, \%narFiles, \%patches, 1) < 3) { | ||||
|     if (readManifest($manifest, \%narFiles, \%localPaths, \%patches, 1) < 3) { | ||||
| #        die "manifest `$manifest' is too old (i.e., for Nix <= 0.7)\n"; | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue