guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/118: nix-build: --add-root also takes 1 parameter


From: Ludovic Courtès
Subject: 13/118: nix-build: --add-root also takes 1 parameter
Date: Tue, 19 May 2015 14:45:14 +0000

civodul pushed a commit to branch nix
in repository guix.

commit a457d5ad4d7f6cd4f817581de1b4f70cdad9c617
Author: Aristid Breitkreuz <address@hidden>
Date:   Sun May 4 14:26:41 2014 +0200

    nix-build: --add-root also takes 1 parameter
---
 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 2f95e74..74307a5 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 "--cores" || $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" || $arg eq 
'--add-root') {
         $n++;
         die "$0: `$arg' requires an argument\n" unless $n < scalar @ARGV;
         push @buildArgs, ($arg, $ARGV[$n]);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]