Make the location of the build directory in the sandbox configurable
This is mostly for use in the sandbox tests, since if the Nix store is under /build, then we can't use /build as the build directory.
This commit is contained in:
parent
465cb68244
commit
bb50c89319
4 changed files with 12 additions and 8 deletions
|
|
@ -55,7 +55,7 @@ void parseMachines(const std::string & s, Machines & machines)
|
|||
if (sz < 1)
|
||||
throw FormatError("bad machine specification ‘%s’", line);
|
||||
|
||||
auto isSet = [&](int n) {
|
||||
auto isSet = [&](size_t n) {
|
||||
return tokens.size() > n && tokens[n] != "" && tokens[n] != "-";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue