diff options
| author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2021-09-14 23:27:37 +0200 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2021-09-14 23:27:37 +0200 |
| commit | 28e9284942b11afac4001090b90ec37b27b78a8a (patch) | |
| tree | bece589118add5bf8db5ceb5020dfb2e0696c52e /gnu/packages/patchutils.scm | |
| parent | cb0e6ec211aca54fb46a3722d63cf0f896995d9d (diff) | |
gnu: meld: Copy GTKSourceView styles.
This fixes a somewhat cryptic error, that pops up when gtksourceview-3 has not
been installed or propagated by any other package.
* gnu/packages/patchutils.scm (meld)[#:phases]: Add ‘copy-styles’.
Diffstat (limited to 'gnu/packages/patchutils.scm')
| -rw-r--r-- | gnu/packages/patchutils.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm index cefced86f29..8758fb0e8f8 100644 --- a/gnu/packages/patchutils.scm +++ b/gnu/packages/patchutils.scm | |||
| @@ -298,6 +298,13 @@ GiB).") | |||
| 298 | (invoke "py.test" "-v" "-k" | 298 | (invoke "py.test" "-v" "-k" |
| 299 | ;; TODO: Those tests fail, why? | 299 | ;; TODO: Those tests fail, why? |
| 300 | "not test_classify_change_actions"))) | 300 | "not test_classify_change_actions"))) |
| 301 | (add-after 'install 'copy-styles | ||
| 302 | (lambda* (#:key inputs outputs #:allow-other-keys) | ||
| 303 | (let ((styles "/share/gtksourceview-3.0/styles")) | ||
| 304 | (copy-recursively | ||
| 305 | (string-append (assoc-ref inputs "gtksourceview") styles) | ||
| 306 | (string-append (assoc-ref outputs "out") styles)) | ||
| 307 | #t))) | ||
| 301 | (add-after 'wrap 'glib-or-gtk-wrap | 308 | (add-after 'wrap 'glib-or-gtk-wrap |
| 302 | (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) | 309 | (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) |
| 303 | (add-after 'wrap 'wrap-typelib | 310 | (add-after 'wrap 'wrap-typelib |
