aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-08-24 09:21:59 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-08-24 09:21:59 +0000
commitc67eccc26d42bce9496024ac77eaa7e4ff725d01 (patch)
tree946fe1fe0f45ce66f0c064dc6c3b55cb3f0b00e2
parent2c8e070e5d75e1d1f610c8493b359a194c30e3b8 (diff)
* nix-build: pass --cores.
-rw-r--r--scripts/nix-build.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index d27eb08e2..ed85d5712 100644
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -102,7 +102,7 @@ EOF
$n += 2;
}
- elsif ($arg eq "--max-jobs" or $arg eq "-j" or $arg eq "--max-silent-time" or $arg eq "--log-type") {
+ elsif ($arg eq "--max-jobs" or $arg eq "-j" or $arg eq "--max-silent-time" or $arg eq "--log-type" or $arg eq "--cores") {
$n++;
die "$0: `$arg' requires an argument\n" unless $n < scalar @ARGV;
push @buildArgs, ($arg, $ARGV[$n]);