summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-13 20:42:23 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-13 20:42:23 +0100
commit8f05252862080e6b4a1723f26fc08e1b6ad1c7ef (patch)
tree787ee693c2120dcfa71fba4e1100dedce63a2c80
parent8318b3ed8c04ef73f042816fca9bbe884eadc00c (diff)
downloadguix-8f05252862080e6b4a1723f26fc08e1b6ad1c7ef.tar.gz
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".
-rw-r--r--gnu/packages/guile-xyz.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 48bfa46c7e..27230ddc3c 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -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)