* baseNameOf: paths don't have to be absolute.
This commit is contained in:
		
							parent
							
								
									822dba2210
								
							
						
					
					
						commit
						3059df0f1e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -311,7 +311,7 @@ static Expr primDerivationLazy(EvalState & state, const ATermVector & args) | |||
| static Expr primBaseNameOf(EvalState & state, const ATermVector & args) | ||||
| { | ||||
|     PathSet context; | ||||
|     return makeStr(baseNameOf(coerceToPath(state, args[0], context)), context); | ||||
|     return makeStr(baseNameOf(coerceToString(state, args[0], context)), context); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue