forked from lix-project/lix
build-remote: take extra-platforms into account
This commit is contained in:
parent
637701b604
commit
639c166647
|
@ -98,7 +98,9 @@ int main (int argc, char * * argv)
|
||||||
source >> drvPath;
|
source >> drvPath;
|
||||||
auto requiredFeatures = readStrings<std::set<std::string>>(source);
|
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 */
|
/* Error ignored here, will be caught later */
|
||||||
mkdir(currentLoad.c_str(), 0777);
|
mkdir(currentLoad.c_str(), 0777);
|
||||||
|
|
Loading…
Reference in a new issue