aboutsummaryrefslogtreecommitdiff
path: root/neovim.rb
diff options
context:
space:
mode:
Diffstat (limited to 'neovim.rb')
-rw-r--r--neovim.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/neovim.rb b/neovim.rb
index ed826fd0c5..30c0eecb0f 100644
--- a/neovim.rb
+++ b/neovim.rb
@@ -10,6 +10,7 @@ class Neovim < Formula
depends_on "autoconf" => :build
def install
+ ENV["GIT_DIR"] = cached_download/".git" if build.head?
ENV.deparallelize
system "make", "CMAKE_EXTRA_FLAGS=\"-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}\"", "install"
end