mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
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__
|
#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