1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

Add an option ‘build-fallback’ (equivalent to the --fallback flag)

This commit is contained in:
Eelco Dolstra 2012-07-31 17:56:02 -04:00
parent 97421eb5ec
commit 89a8207029
3 changed files with 13 additions and 2 deletions

View file

@ -191,7 +191,7 @@ static void initAndRun(int argc, char * * argv)
else if (arg == "--keep-going" || arg == "-k")
settings.keepGoing = true;
else if (arg == "--fallback")
settings.tryFallback = true;
settings.set("build-fallback", "true");
else if (arg == "--max-jobs" || arg == "-j")
settings.set("build-max-jobs", getArg(arg, i, args.end()));
else if (arg == "--cores")