summary refs log tree commit diff
diff options
context:
space:
mode:
authorMorgan Smith <Morgan.J.Smith@outlook.com>2021-07-03 10:37:48 -0400
committerEfraim Flashner <efraim@flashner.co.il>2021-07-05 10:55:04 +0300
commit911038e874c24f851f1316a71867f335dc17ff47 (patch)
treed2da12703f669b50d9e7b7ffb438678ffc377bfa
parentb1a419ea3fdea2bff3f7f14da4b4e336334f408d (diff)
downloadguix-911038e874c24f851f1316a71867f335dc17ff47.tar.gz
gnu: vim: Install manpages
* gnu/packages/vim.scm (vim)[arguments]<#:phases>: Add fix-install.sh phase.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/vim.scm5
1 files changed, 5 insertions, 0 deletions
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")))