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".
This commit is contained in:
Ricardo Wurmus 2019-03-13 20:41:41 +01:00
parent b9445d0b76
commit 8318b3ed8c
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 0 deletions

View File

@ -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")