This reflects upstream versioning change, and allows us to replace 4.0 with 4.1 (which is now a minor revision) without changing the attribute name. Thanks to @vcunat for the idea.
		
			
				
	
	
		
			4 lines
		
	
	
		
			159 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
		
			159 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
linkCxxAbi="@linkCxxAbi@"
 | 
						|
export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
 | 
						|
export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
 |