From 8f05252862080e6b4a1723f26fc08e1b6ad1c7ef Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 13 Mar 2019 20:42:23 +0100 Subject: [PATCH] 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". --- gnu/packages/guile-xyz.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)