diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2016-01-12 14:47:10 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2016-01-12 14:47:10 +0200 |
| commit | 9d9951d6a6d5b1cce55f52c1600032360fe3a25d (patch) | |
| tree | bc5180af22d3864bd5afaa1e4d40224089b6df43 /gnu/packages/code.scm | |
| parent | 94c3a6f1a628c71f07ebc78b2eb75afa3c47bfa1 (diff) | |
gnu: global: Use modify-phases syntax.
* gnu/packages/code.scm (global)[arguments]: Use modify-phases syntax.
Diffstat (limited to 'gnu/packages/code.scm')
| -rw-r--r-- | gnu/packages/code.scm | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index e0d4997b317..754a435347b 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm | |||
| @@ -111,18 +111,17 @@ highlighting your own code that seemed comprehensible when you wrote it.") | |||
| 111 | (string-append "--with-sqlite3=" | 111 | (string-append "--with-sqlite3=" |
| 112 | (assoc-ref %build-inputs "sqlite"))) | 112 | (assoc-ref %build-inputs "sqlite"))) |
| 113 | 113 | ||
| 114 | #:phases (alist-cons-after | 114 | #:phases |
| 115 | 'install 'post-install | 115 | (modify-phases %standard-phases |
| 116 | (lambda* (#:key outputs #:allow-other-keys) | 116 | (add-after 'install 'post-install |
| 117 | ;; Install the Emacs Lisp file in the right place. | 117 | (lambda* (#:key outputs #:allow-other-keys) |
| 118 | (let* ((out (assoc-ref outputs "out")) | 118 | ;; Install the Emacs Lisp file in the right place. |
| 119 | (data (string-append out "/share/gtags")) | 119 | (let* ((out (assoc-ref outputs "out")) |
| 120 | (lisp (string-append out "/share/emacs/site-lisp"))) | 120 | (data (string-append out "/share/gtags")) |
| 121 | (install-file (string-append data "/gtags.el") | 121 | (lisp (string-append out "/share/emacs/site-lisp"))) |
| 122 | lisp) | 122 | (install-file (string-append data "/gtags.el") lisp) |
| 123 | (delete-file (string-append data "/gtags.el")) | 123 | (delete-file (string-append data "/gtags.el")) |
| 124 | #t)) | 124 | #t)))))) |
| 125 | %standard-phases))) | ||
| 126 | (home-page "http://www.gnu.org/software/global/") | 125 | (home-page "http://www.gnu.org/software/global/") |
| 127 | (synopsis "Cross-environment source code tag system") | 126 | (synopsis "Cross-environment source code tag system") |
| 128 | (description | 127 | (description |
