forked from lix-project/lix
Fix build failure introduced by #704
Also, make the FreeBSD checks conditional on FreeBSD.
This commit is contained in:
parent
afef347157
commit
a0f0733413
|
@ -1275,9 +1275,10 @@ static bool canBuildLocally(const BasicDerivation & drv)
|
||||||
#if __linux__
|
#if __linux__
|
||||||
|| (drv.platform == "i686-linux" && settings.thisSystem == "x86_64-linux")
|
|| (drv.platform == "i686-linux" && settings.thisSystem == "x86_64-linux")
|
||||||
|| (drv.platform == "armv6l-linux" && settings.thisSystem == "armv7l-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
|
#endif
|
||||||
|| (platform == "i686-linux" && settings.thisSystem == "x86_64-freebsd")
|
|
||||||
|| (platform == "i686-linux" && settings.thisSystem == "i686-freebsd")
|
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue