From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: Re: [PATCH] gnu: guile-next: Set correct native search paths. Date: Mon, 15 Feb 2016 09:47:05 +0100 Message-ID: <871t8ez7g6.fsf@igalia.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVEov-0004qZ-Gx for guix-devel@gnu.org; Mon, 15 Feb 2016 03:47:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVEos-0005HR-9T for guix-devel@gnu.org; Mon, 15 Feb 2016 03:47:49 -0500 Received: from pb-sasl0.int.icgroup.com ([208.72.237.25]:55958 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVEos-00059o-2B for guix-devel@gnu.org; Mon, 15 Feb 2016 03:47:46 -0500 In-Reply-To: (David Thompson's message of "Sat, 13 Feb 2016 00:13:33 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Thompson, David" Cc: guix-devel On Sat 13 Feb 2016 06:13, "Thompson, David" writes: > 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) This doesn't look right to me; why is GUILE_LOAD_COMPILED_PATH pointing into share? Probably need to update the pointer into lib to use 2.2, also. Andy