* Refactoring to support different installation sources in nix-env.
* Set the references for the user environment manifest properly. * Don't copy the manifest (this was accidental). * Don't store derivation paths in the manifest (maybe this should be made optional). This cleans up the semantics of nix-env, which were weird. * Hash on the output paths of activated components, not on derivation paths. This is because we don't know the derivation path of already installed components anymore, and it allows the installation of components by store path (skipping Nix expressions entirely). * Query options `--out-path' and `--drv-path' to show the output and derivation paths of components, respectively (the latter replaces the `--expr' query).
This commit is contained in:
		
							parent
							
								
									80870d9291
								
							
						
					
					
						commit
						20ce2642fc
					
				
					 5 changed files with 125 additions and 61 deletions
				
			
		|  | @ -112,6 +112,14 @@ Path createTempDir(); | |||
|    not already exist. */ | ||||
| void writeStringToFile(const Path & path, const string & s); | ||||
| 
 | ||||
| template<class T, class A> | ||||
| T singleton(const A & a) | ||||
| { | ||||
|     T t; | ||||
|     t.insert(a); | ||||
|     return t; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| /* Messages. */ | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue