derivations that produce the same output path don't work properly wrt locking. This happens a lot in the build farm when fetchurl derivations downloading the same file on different platforms are executed in parallel and then copied back to the main machine.
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			133 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			133 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
echo dummy: $dummy
 | 
						|
if test -n "$dummy"; then sleep 2; fi
 | 
						|
mkdir $out
 | 
						|
mkdir $out/bla
 | 
						|
echo "Hello World!" > $out/foo
 | 
						|
ln -s foo $out/bar
 |