* Fix comment.
This commit is contained in:
		
							parent
							
								
									ee5040421f
								
							
						
					
					
						commit
						4e91d8621f
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -368,9 +368,7 @@ static Expr primDerivationStrict(EvalState & state, const ATermVector & args) | ||||||
|         if (outputHashRecursive) outputHashAlgo = "r:" + outputHashAlgo; |         if (outputHashRecursive) outputHashAlgo = "r:" + outputHashAlgo; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     /* Check the derivation name.  It shouldn't contain whitespace,
 |     /* Check whether the derivation name is valid. */ | ||||||
|        but we are conservative here: we check whether only |  | ||||||
|        alphanumerics and some other characters appear. */ |  | ||||||
|     checkStoreName(drvName); |     checkStoreName(drvName); | ||||||
|     if (isDerivation(drvName)) |     if (isDerivation(drvName)) | ||||||
|         throw EvalError(format("derivation names are not allowed to end in `%1%'") |         throw EvalError(format("derivation names are not allowed to end in `%1%'") | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue