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.
This commit is contained in:
Alex Kost 2016-06-29 10:51:26 +03:00 committed by Leo Famulari
parent 4ed40a3e6c
commit ca40858094
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08

View File

@ -183,7 +183,7 @@ (define-public guile-2.0
(files '("share/guile/site/2.0"))) (files '("share/guile/site/2.0")))
(search-path-specification (search-path-specification
(variable "GUILE_LOAD_COMPILED_PATH") (variable "GUILE_LOAD_COMPILED_PATH")
(files '("lib/guile/2.0/ccache" (files '("lib/guile/2.0/site-ccache"
"share/guile/site/2.0"))))) "share/guile/site/2.0")))))
(synopsis "Scheme implementation intended especially for extensions") (synopsis "Scheme implementation intended especially for extensions")
@ -226,7 +226,7 @@ (define-public guile-next
(files '("share/guile/site/2.2"))) (files '("share/guile/site/2.2")))
(search-path-specification (search-path-specification
(variable "GUILE_LOAD_COMPILED_PATH") (variable "GUILE_LOAD_COMPILED_PATH")
(files '("lib/guile/2.2/ccache" (files '("lib/guile/2.2/site-ccache"
"share/guile/site/2.2"))))))) "share/guile/site/2.2")))))))
(define-public guile-for-guile-emacs (define-public guile-for-guile-emacs