From a1e9bb30d410f83b69ccb980c0052913ccfb3dd8 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 28 Feb 2016 20:42:13 +0100 Subject: [PATCH] gnu: guile-for-guile-emacs: Use guile-2.0 search paths. * gnu/packages/guile.scm (guile-for-guile-emacs)[native-search-paths]: Use the same search paths as guile-2.0. --- gnu/packages/guile.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 5349fda..882a62d 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2014, 2015 Mark H Weaver ;;; Copyright © 2015 Christopher Allan Webber ;;; Copyright © 2016 Alex Sassmannshausen +;;; Copyright © 2016 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -255,7 +256,16 @@ without requiring the source code to be rewritten.") ("flex" ,flex) ("texinfo" ,texinfo) ("gettext" ,gnu-gettext) - ,@(package-native-inputs guile-next))))) + ,@(package-native-inputs guile-next))) + ;; Same as in guile-2.0 + (native-search-paths + (list (search-path-specification + (variable "GUILE_LOAD_PATH") + (files '("share/guile/site/2.0"))) + (search-path-specification + (variable "GUILE_LOAD_COMPILED_PATH") + (files '("lib/guile/2.0/ccache" + "share/guile/site/2.0"))))))) ;;; -- 2.6.3