about summary refs log tree commit diff
path: root/scripts/nix-build.in
diff options
context:
space:
mode:
authorBrian McKenna <bmckenna@atlassian.com>2016-01-20T03·16+1100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-20T15·35+0100
commit3baf8be1d149e034f771d2a0acf9d50563164cf6 (patch)
tree51a66ea4719708142cad856db5991bd26c41343a /scripts/nix-build.in
parent5d8b7eb3e1f6030dfb1677af7a6ca9e2f1ebc11a (diff)
Fix broken call to shellwords
nix-shell shebangs were broken by 9018deab
Diffstat (limited to 'scripts/nix-build.in')
-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 b4bb2fc3fe8a..b93e5ab1390a 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -57,7 +57,7 @@ if ($runEnv && defined $ARGV[0] && $ARGV[0] !~ /nix-shell/) {
             while (<SCRIPT>) {
                 chomp;
                 if (/^\#\!\s*nix-shell (.*)$/) {
-                    push @ARGV, shellwords(/ /, $1);
+                    push @ARGV, shellwords($1);
                 }
             }
         }