about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-04-23T15·16+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-04-23T15·16+0200
commit6955d41f2be32c3bb857703c3e006e24d787d540 (patch)
tree53b574b83f942db94630ff3ea9cc97de51838225 /scripts
parent934cf2d1f4c46ecd6afd30cfb14aa55a6bf3d790 (diff)
nix-build: Respect --timeout
Diffstat (limited to 'scripts')
-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 efff3e008aca..76dffd253d51 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -87,7 +87,7 @@ for (my $n = 0; $n < scalar @ARGV; $n++) {
         $n += 2;
     }
 
-    elsif ($arg eq "--max-jobs" or $arg eq "-j" or $arg eq "--max-silent-time" or $arg eq "--log-type" or $arg eq "--cores") {
+    elsif ($arg eq "--max-jobs" or $arg eq "-j" or $arg eq "--max-silent-time" or $arg eq "--log-type" or $arg eq "--cores" or $arg eq "--timeout") {
         $n++;
         die "$0: `$arg' requires an argument\n" unless $n < scalar @ARGV;
         push @buildArgs, ($arg, $ARGV[$n]);