build-remote: take extra-platforms into account
This commit is contained in:
parent
637701b604
commit
639c166647
1 changed files with 3 additions and 1 deletions
|
@ -98,7 +98,9 @@ int main (int argc, char * * argv)
|
|||
source >> drvPath;
|
||||
auto requiredFeatures = readStrings<std::set<std::string>>(source);
|
||||
|
||||
auto canBuildLocally = amWilling && (neededSystem == settings.thisSystem);
|
||||
auto canBuildLocally = amWilling
|
||||
&& ( neededSystem == settings.thisSystem
|
||||
|| settings.extraPlatforms.get().count(neededSystem) > 0);
|
||||
|
||||
/* Error ignored here, will be caught later */
|
||||
mkdir(currentLoad.c_str(), 0777);
|
||||
|
|
Loading…
Reference in a new issue