Generalise meta attributes
This commit is contained in:
		
							parent
							
								
									990126cde0
								
							
						
					
					
						commit
						0f24400d90
					
				
					 5 changed files with 208 additions and 208 deletions
				
			
		| 
						 | 
				
			
			@ -63,10 +63,10 @@ void processExpr(EvalState & state, const Strings & attrPaths,
 | 
			
		|||
            DrvInfos drvs;
 | 
			
		||||
            getDerivations(state, v, "", autoArgs, drvs, false);
 | 
			
		||||
            foreach (DrvInfos::iterator, i, drvs) {
 | 
			
		||||
                Path drvPath = i->queryDrvPath(state);
 | 
			
		||||
                Path drvPath = i->queryDrvPath();
 | 
			
		||||
 | 
			
		||||
                /* What output do we want? */
 | 
			
		||||
                string outputName = i->queryOutputName(state);
 | 
			
		||||
                string outputName = i->queryOutputName();
 | 
			
		||||
                if (outputName == "")
 | 
			
		||||
                    throw Error(format("derivation `%1%' lacks an `outputName' attribute ") % drvPath);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue