Add a toJSON primop
This commit is contained in:
		
							parent
							
								
									285df765b9
								
							
						
					
					
						commit
						77c13cdf56
					
				
					 10 changed files with 179 additions and 24 deletions
				
			
		|  | @ -181,6 +181,8 @@ public: | |||
|     string coerceToString(Value & v, PathSet & context, | ||||
|         bool coerceMore = false, bool copyToStore = true); | ||||
| 
 | ||||
|     string copyPathToStore(PathSet & context, const Path & path); | ||||
| 
 | ||||
|     /* Path coercion.  Converts strings, paths and derivations to a
 | ||||
|        path.  The result is guaranteed to be a canonicalised, absolute | ||||
|        path.  Nothing is copied to the store. */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue