mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: global: Adjust order of phases.
* gnu/packages/code.scm (global)[arguments]: Adjust the order of the phases so that they get read in the correct order. Change-Id: I149ccd249821c64aa5a508048d995e9963ea4c08
This commit is contained in:
parent
d56532c568
commit
f0c22c1427
1 changed files with 17 additions and 17 deletions
|
@ -225,22 +225,6 @@ (define-public global ; a global variable
|
|||
(substitute* "globash/globash.in"
|
||||
(("/bin/echo")
|
||||
(search-input-file inputs "bin/echo")))))
|
||||
(add-after 'post-install 'install-plugins
|
||||
(lambda _
|
||||
(with-directory-excursion "plugin-factory"
|
||||
(invoke "make" "install"))))
|
||||
(add-before 'install 'dont-install-to-/var
|
||||
(lambda _
|
||||
(substitute* "gozilla/Makefile"
|
||||
(("DESTDIR\\)\\$\\{localstatedir\\}")
|
||||
"TMPDIR)"))))
|
||||
(add-after 'install-plugins 'wrap-program
|
||||
(lambda _
|
||||
(wrap-program
|
||||
(string-append #$output
|
||||
"/share/gtags/script/pygments_parser.py")
|
||||
`("GUIX_PYTHONPATH" ":" prefix
|
||||
(,(getenv "GUIX_PYTHONPATH"))))))
|
||||
(add-after 'install 'post-install
|
||||
(lambda _
|
||||
;; Install the plugin files in the right place.
|
||||
|
@ -258,7 +242,23 @@ (define-public global ; a global variable
|
|||
(rename-file (string-append data "/gtags.vim")
|
||||
(string-append vim "/gtags.vim"))
|
||||
(rename-file (string-append data "/gtags-cscope.vim")
|
||||
(string-append vim "/gtags-cscope.vim"))))))))
|
||||
(string-append vim "/gtags-cscope.vim")))))
|
||||
(add-after 'post-install 'install-plugins
|
||||
(lambda _
|
||||
(with-directory-excursion "plugin-factory"
|
||||
(invoke "make" "install"))))
|
||||
(add-before 'install 'dont-install-to-/var
|
||||
(lambda _
|
||||
(substitute* "gozilla/Makefile"
|
||||
(("DESTDIR\\)\\$\\{localstatedir\\}")
|
||||
"TMPDIR)"))))
|
||||
(add-after 'install-plugins 'wrap-program
|
||||
(lambda _
|
||||
(wrap-program
|
||||
(string-append #$output
|
||||
"/share/gtags/script/pygments_parser.py")
|
||||
`("GUIX_PYTHONPATH" ":" prefix
|
||||
(,(getenv "GUIX_PYTHONPATH")))))))))
|
||||
(inputs
|
||||
(list bash-minimal ; for wrap-program
|
||||
coreutils
|
||||
|
|
Loading…
Reference in a new issue