Fix build failure introduced by #704
Also, make the FreeBSD checks conditional on FreeBSD.
This commit is contained in:
		
							parent
							
								
									afef347157
								
							
						
					
					
						commit
						a0f0733413
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -1275,9 +1275,10 @@ static bool canBuildLocally(const BasicDerivation & drv) | |||
| #if __linux__ | ||||
|         || (drv.platform == "i686-linux" && settings.thisSystem == "x86_64-linux") | ||||
|         || (drv.platform == "armv6l-linux" && settings.thisSystem == "armv7l-linux") | ||||
| #elif __FreeBSD__ | ||||
|         || (drv.platform == "i686-linux" && settings.thisSystem == "x86_64-freebsd") | ||||
|         || (drv.platform == "i686-linux" && settings.thisSystem == "i686-freebsd") | ||||
| #endif | ||||
|         || (platform == "i686-linux" && settings.thisSystem == "x86_64-freebsd") | ||||
|         || (platform == "i686-linux" && settings.thisSystem == "i686-freebsd") | ||||
|         ; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue