summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-13 20:41:41 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-13 20:41:41 +0100
commit8318b3ed8c04ef73f042816fca9bbe884eadc00c (patch)
tree2fc2d514e98537519e289c0baf59b505d9cd3c9d
parentb9445d0b76dfc05dc64e2b72427f43da65869595 (diff)
gnu: guile-stis-parser: Install go files to canonical directory.
* gnu/packages/guile-xyz.scm (guile-stis-parser)[arguments]: Add build phase "use-canonical-directory-for-go-files".
-rw-r--r--gnu/packages/guile-xyz.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 8e371c62f4..48bfa46c7e 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2081,6 +2081,11 @@ completion, a simple mode line, etc.")
(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _ (chdir "modules") #t))
+ (add-after 'chdir 'use-canonical-directory-for-go-files
+ (lambda _
+ (substitute* "Makefile.am"
+ (("/ccache") "/site-ccache"))
+ #t))
(add-after 'chdir 'delete-broken-symlink
(lambda _
(delete-file "parser/stis-parser/lang/.#calc.scm")