about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-03-17T16·33+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-03-17T16·33+0100
commit77e2cc6c8ed1206c029218d3bc22575202a73b4c (patch)
tree8590d8a100cc51c2c88ce64de77bf81cb7321656
parentfb8d8f5428ec37a40656d64d9190fdc32b0c769b (diff)
nix-build: Fix --cores flag
-rwxr-xr-xscripts/nix-build.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index 452cb901fac2..d74884eadeb0 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -93,7 +93,7 @@ for (my $n = 0; $n < scalar @ARGV; $n++) {
         $n += 2;
     }
 
-    elsif ($arg eq "--max-jobs" || $arg eq "-j" || $arg eq "--max-silent-time" || $arg eq "--log-type" || $arg eq "--c||es" || $arg eq "--timeout") {
+    elsif ($arg eq "--max-jobs" || $arg eq "-j" || $arg eq "--max-silent-time" || $arg eq "--log-type" || $arg eq "--cores" || $arg eq "--timeout") {
         $n++;
         die "$0: `$arg' requires an argument\n" unless $n < scalar @ARGV;
         push @buildArgs, ($arg, $ARGV[$n]);