summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-06-29 10:51:26 +0300
committerLeo Famulari <leo@famulari.name>2016-08-10 15:40:32 -0400
commitca408580946d5a8be872f3da755112f5559a054d (patch)
treeed0d2c4fce57babf062f218c510c6ea0e71b053f /gnu/packages
parent4ed40a3e6ca030573ded52233bd9e72dcdb85697 (diff)
downloadguix-ca408580946d5a8be872f3da755112f5559a054d.tar.gz
gnu: guile: Use "site-ccache" for the compiled search path.
There is no need to add "ccache" to GUILE_LOAD_COMPILED_PATH,
as this directory is used only by Guile itself, while "site-ccache" is
where Guile packages put their .go files.

* gnu/packages/guile.scm (guile-2.0)[native-search-paths]: Use
"lib/guile/2.0/site-ccache" instead of "lib/guile/2.0/ccache" for
GUILE_LOAD_COMPILED_PATH.
(guile-next): Likewise.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/guile.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index f26cc222d4..c28ec87126 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -183,7 +183,7 @@ without requiring the source code to be rewritten.")
            (files '("share/guile/site/2.0")))
           (search-path-specification
            (variable "GUILE_LOAD_COMPILED_PATH")
-           (files '("lib/guile/2.0/ccache"
+           (files '("lib/guile/2.0/site-ccache"
                     "share/guile/site/2.0")))))
 
    (synopsis "Scheme implementation intended especially for extensions")
@@ -226,7 +226,7 @@ without requiring the source code to be rewritten.")
             (files '("share/guile/site/2.2")))
            (search-path-specification
             (variable "GUILE_LOAD_COMPILED_PATH")
-            (files '("lib/guile/2.2/ccache"
+            (files '("lib/guile/2.2/site-ccache"
                      "share/guile/site/2.2")))))))
 
 (define-public guile-for-guile-emacs