Subject: [PATCH] gnu: vim: Install manpages
From: [email-masked]
To: [email-masked]
Cc: Morgan Smith <[email-masked]>
Date: Sat, 3 Jul 2021 10:37:48 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Morgan Smith <[email-masked]>

* gnu/packages/vim.scm (vim)[arguments]<#:phases>: Add fix-install.sh phase.
---
 gnu/packages/vim.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 06c92b7d97..3d017ea46c 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -141,6 +141,11 @@
                ((".*Test_popup_drag_termwin.*" line)
                 (string-append line "return\n")))
              #t))
+         (add-before 'install 'fix-installman.sh
+           (lambda _
+             (substitute* "src/installman.sh"
+               (("/bin/sh")
+                (which "sh")))))
          (add-after 'install 'install-guix.vim
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (let ((vimdir (string-append (assoc-ref outputs "out") "/share/vim")))
-- 
2.32.0