diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-24 22:02:54 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:44:44 +0200 |
| commit | f0c22c142759a533ce9f8ce4c28f5d3b4e23fee8 (patch) | |
| tree | 0edcb6e443bf4db615744ae02eaa5149f18b0591 /gnu/packages/code.scm | |
| parent | d56532c568d66c4b38552c0c96777d4b770374a2 (diff) | |
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
Diffstat (limited to 'gnu/packages/code.scm')
| -rw-r--r-- | gnu/packages/code.scm | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 03a04323b05..3f7a6de478a 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm | |||
| @@ -225,22 +225,6 @@ highlighting your own code that seemed comprehensible when you wrote it.") | |||
| 225 | (substitute* "globash/globash.in" | 225 | (substitute* "globash/globash.in" |
| 226 | (("/bin/echo") | 226 | (("/bin/echo") |
| 227 | (search-input-file inputs "bin/echo"))))) | 227 | (search-input-file inputs "bin/echo"))))) |
| 228 | (add-after 'post-install 'install-plugins | ||
| 229 | (lambda _ | ||
| 230 | (with-directory-excursion "plugin-factory" | ||
| 231 | (invoke "make" "install")))) | ||
| 232 | (add-before 'install 'dont-install-to-/var | ||
| 233 | (lambda _ | ||
| 234 | (substitute* "gozilla/Makefile" | ||
| 235 | (("DESTDIR\\)\\$\\{localstatedir\\}") | ||
| 236 | "TMPDIR)")))) | ||
| 237 | (add-after 'install-plugins 'wrap-program | ||
| 238 | (lambda _ | ||
| 239 | (wrap-program | ||
| 240 | (string-append #$output | ||
| 241 | "/share/gtags/script/pygments_parser.py") | ||
| 242 | `("GUIX_PYTHONPATH" ":" prefix | ||
| 243 | (,(getenv "GUIX_PYTHONPATH")))))) | ||
| 244 | (add-after 'install 'post-install | 228 | (add-after 'install 'post-install |
| 245 | (lambda _ | 229 | (lambda _ |
| 246 | ;; Install the plugin files in the right place. | 230 | ;; Install the plugin files in the right place. |
| @@ -258,7 +242,23 @@ highlighting your own code that seemed comprehensible when you wrote it.") | |||
| 258 | (rename-file (string-append data "/gtags.vim") | 242 | (rename-file (string-append data "/gtags.vim") |
| 259 | (string-append vim "/gtags.vim")) | 243 | (string-append vim "/gtags.vim")) |
| 260 | (rename-file (string-append data "/gtags-cscope.vim") | 244 | (rename-file (string-append data "/gtags-cscope.vim") |
| 261 | (string-append vim "/gtags-cscope.vim")))))))) | 245 | (string-append vim "/gtags-cscope.vim"))))) |
| 246 | (add-after 'post-install 'install-plugins | ||
| 247 | (lambda _ | ||
| 248 | (with-directory-excursion "plugin-factory" | ||
| 249 | (invoke "make" "install")))) | ||
| 250 | (add-before 'install 'dont-install-to-/var | ||
| 251 | (lambda _ | ||
| 252 | (substitute* "gozilla/Makefile" | ||
| 253 | (("DESTDIR\\)\\$\\{localstatedir\\}") | ||
| 254 | "TMPDIR)")))) | ||
| 255 | (add-after 'install-plugins 'wrap-program | ||
| 256 | (lambda _ | ||
| 257 | (wrap-program | ||
| 258 | (string-append #$output | ||
| 259 | "/share/gtags/script/pygments_parser.py") | ||
| 260 | `("GUIX_PYTHONPATH" ":" prefix | ||
| 261 | (,(getenv "GUIX_PYTHONPATH"))))))))) | ||
| 262 | (inputs | 262 | (inputs |
| 263 | (list bash-minimal ; for wrap-program | 263 | (list bash-minimal ; for wrap-program |
| 264 | coreutils | 264 | coreutils |
