gnu: guile-persist: Install go files to canonical directory.

* gnu/packages/guile-xyz.scm (guile-persist)[arguments]: Patch target
directory for go files in build phase "patch-prefix".
master
Ricardo Wurmus 2019-03-13 20:42:23 +01:00
parent 8318b3ed8c
commit 8f05252862
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 1 deletions

View File

@ -2132,7 +2132,9 @@ chunks can be expressions as well as simple tokens.")
(("/usr/local/include/guile")
(string-append (assoc-ref inputs "guile") "/include/guile"))
(("-L/usr/local/lib")
(string-append "-L" (assoc-ref inputs "guile") "/lib")))
(string-append "-L" (assoc-ref inputs "guile") "/lib"))
;; Use canonical directory for go files.
(("/ccache") "/site-ccache"))
#t))
(add-after 'unpack 'patch-library-reference
(lambda* (#:key outputs #:allow-other-keys)