From 3baf8be1d149e034f771d2a0acf9d50563164cf6 Mon Sep 17 00:00:00 2001
From: Brian McKenna <bmckenna@atlassian.com>
Date: Wed, 20 Jan 2016 14:16:42 +1100
Subject: [PATCH] Fix broken call to shellwords

nix-shell shebangs were broken by 9018deab
---
 scripts/nix-build.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index b4bb2fc3f..b93e5ab13 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);
                 }
             }
         }
-- 
GitLab