* Implemented the primops necessary for generating the NixOS manual.
This commit is contained in:
		
							parent
							
								
									a353aef0b1
								
							
						
					
					
						commit
						fc92244ba8
					
				
					 8 changed files with 160 additions and 146 deletions
				
			
		| 
						 | 
				
			
			@ -75,7 +75,8 @@ void processExpr(EvalState & state, const Strings & attrPaths,
 | 
			
		|||
        std::cout << format("%1%\n") % canonicaliseExpr(e);
 | 
			
		||||
    else {
 | 
			
		||||
        Value v;
 | 
			
		||||
        if (strict) state.strictEval(e, v); else state.eval(e, v);
 | 
			
		||||
        state.eval(e, v);
 | 
			
		||||
        if (strict) state.strictForceValue(v);
 | 
			
		||||
        if (evalOnly)
 | 
			
		||||
            std::cout << v << std::endl;
 | 
			
		||||
        else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue