From 5f9aad44caff5b2a2fb22fcf93d6ca129656984d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 11 Aug 2010 15:28:02 +0000 Subject: [PATCH] * nix-build: recognise --cores. --- scripts/nix-build.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);