summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-02-13 21:17:19 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-02-13 21:48:10 +0200
commit37f7853e1359ae0a46b6fcb223145b690fdd051f (patch)
treea2f15bbcd60e37e688c221e41aec3b5064b97721 /gnu/packages
parent28388ac8f8dedd1984379119e480ecbd10c6fc30 (diff)
downloadguix-37f7853e1359ae0a46b6fcb223145b690fdd051f.tar.gz
gnu: fluxbox: Install vim helper files.
* gnu/packages/wm.scm (fluxbox)[arguments]: Add custom phase to install
vim files.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/wm.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index fd89df0c16..6a6a94b7ce 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
 ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
-;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Al McElrath <hello@yrns.org>
 ;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
 ;;; Copyright © 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
@@ -675,6 +675,12 @@ drags, snap-to-border support, and virtual desktops.")
      `(#:make-flags '("CPPFLAGS=-U__TIME__") ;ugly, but for reproducibility
        #:phases
        (modify-phases %standard-phases
+         (add-after 'install 'install-vim-files
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (syntax (string-append out "/share/vim/vimfiles/syntax")))
+               (copy-recursively "3rd/vim/vim/syntax" syntax)
+               #t)))
          (add-after
           'install 'install-xsession
           (lambda _