diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-08-11T15·28+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-08-11T15·28+0000 |
commit | 5f9aad44caff5b2a2fb22fcf93d6ca129656984d (patch) | |
tree | 85fc5c59190f4425a430f67a08f8b600fbcb00dd | |
parent | d7875d164884b1a42d9b5ed0d92b55beeeb89a99 (diff) |
* nix-build: recognise --cores.
-rw-r--r-- | scripts/nix-build.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in index d27eb08e223e..ed85d5712128 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]); |