unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: guile: Add "site-ccache" to the search path.
Date: Wed, 29 Jun 2016 11:04:10 +0300	[thread overview]
Message-ID: <87por0fmkl.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

Add "site-ccache" since it's a directory where .go files of guile
packages should go (for example, 'guile-ssh' installs *.go there).

I suppose this patch should go to 'core-updates-next', right?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-guile-Add-site-ccache-to-the-search-path.patch --]
[-- Type: text/x-patch, Size: 1315 bytes --]

From 489a54be23753f61fa9c3a318d411eb48fb75bf6 Mon Sep 17 00:00:00 2001
From: Alex Kost <alezost@gmail.com>
Date: Wed, 29 Jun 2016 10:51:26 +0300
Subject: [PATCH] gnu: guile: Add "site-ccache" to the search path.

* gnu/packages/guile.scm (guile-2.0)[native-search-paths]: Add
"lib/guile/2.0/site-ccache" to GUILE_LOAD_COMPILED_PATH.
(guile-next): Likewise.
---
 gnu/packages/guile.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 2d8ca0c..5453e78 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -180,6 +180,7 @@ without requiring the source code to be rewritten.")
           (search-path-specification
            (variable "GUILE_LOAD_COMPILED_PATH")
            (files '("lib/guile/2.0/ccache"
+                    "lib/guile/2.0/site-ccache"
                     "share/guile/site/2.0")))))
 
    (synopsis "Scheme implementation intended especially for extensions")
@@ -223,6 +224,7 @@ without requiring the source code to be rewritten.")
            (search-path-specification
             (variable "GUILE_LOAD_COMPILED_PATH")
             (files '("lib/guile/2.2/ccache"
+                     "lib/guile/2.2/site-ccache"
                      "share/guile/site/2.2")))))))
 
 (define-public guile-for-guile-emacs
-- 
2.8.3


             reply	other threads:[~2016-06-29  8:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29  8:04 Alex Kost [this message]
2016-06-29 13:14 ` [PATCH] gnu: guile: Add "site-ccache" to the search path Ludovic Courtès
2016-06-29 14:00   ` Andy Wingo
2016-06-30 10:31     ` Ludovic Courtès
2016-06-30 14:18       ` Alex Kost
2016-06-30 21:14         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87por0fmkl.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).