diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | 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 5e988cc411f8..0a4431681cb1 100755 --- a/scripts/nix-build.in +++ b/scripts/nix-build.in @@ -56,7 +56,7 @@ if ($runEnv && defined $ARGV[0] && $ARGV[0] !~ /nix-shell/) { while (<SCRIPT>) { chomp; if (/^\#\!\s*nix-shell (.*)$/) { - @ARGV = split / /, $1; + push @ARGV, split(/ /, $1); } } } |