diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/nix-build.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in index f9d81b36c7a0..d9d1da73b12f 100644 --- a/scripts/nix-build.in +++ b/scripts/nix-build.in @@ -76,10 +76,10 @@ EOF $outLink = $ARGV[$n]; } - elsif ($arg eq "--attr" or $arg eq "-A") { + elsif ($arg eq "--attr" or $arg eq "-A" or $arg eq "-I") { $n++; die "$0: `$arg' requires an argument\n" unless $n < scalar @ARGV; - push @instArgs, ("--attr", $ARGV[$n]); + push @instArgs, ($arg, $ARGV[$n]); } elsif ($arg eq "--arg" || $arg eq "--argstr") { |