all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: guile-next: Set correct native search paths.
@ 2016-02-13  5:13 Thompson, David
  2016-02-13  7:25 ` Jan Nieuwenhuizen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Thompson, David @ 2016-02-13  5:13 UTC (permalink / raw)
  To: guix-devel

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

I've started building my own projects with Guile 2.1.2 and I noticed
that the search paths needed adjustment in order to find modules.

- Dave

[-- Attachment #2: 0001-gnu-guile-next-Set-correct-native-search-paths.patch --]
[-- Type: text/x-diff, Size: 1380 bytes --]

From 7b26acb50b60a68b1c64ff38a663212e03b0bb7d Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Sat, 13 Feb 2016 00:08:22 -0500
Subject: [PATCH] gnu: guile-next: Set correct native search paths.

* gnu/packages/guile.scm (guile-next): Use the "2.2" directory for the
  load paths.
---
 gnu/packages/guile.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index e6e7228..11d9da1 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -210,7 +210,15 @@ without requiring the source code to be rewritten.")
               ;; times (almost 3 hours on a 4-core Intel i5).
               (snippet '(for-each delete-file
                                   (find-files "prebuilt" "\\.go$")))))
-    (synopsis "Snapshot of what will become version 2.2 of GNU Guile")))
+    (synopsis "Snapshot of what will become version 2.2 of GNU Guile")
+    (native-search-paths
+     (list (search-path-specification
+            (variable "GUILE_LOAD_PATH")
+            (files '("share/guile/site/2.2")))
+           (search-path-specification
+            (variable "GUILE_LOAD_COMPILED_PATH")
+            (files '("lib/guile/2.0/ccache"
+                     "share/guile/site/2.2")))))))
 
 (define-public guile-for-guile-emacs
   (package (inherit guile-next)
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-24  0:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-13  5:13 [PATCH] gnu: guile-next: Set correct native search paths Thompson, David
2016-02-13  7:25 ` Jan Nieuwenhuizen
2016-02-15  8:47 ` Andy Wingo
2016-02-15 13:04   ` Thompson, David
2016-02-21 23:11   ` Jan Nieuwenhuizen
2016-02-24  0:42 ` Thompson, David

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.