From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: [PATCH] gnu: guile-next: Set correct native search paths. Date: Mon, 15 Feb 2016 08:04:44 -0500 Message-ID: References: <871t8ez7g6.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVIpa-00067P-BH for guix-devel@gnu.org; Mon, 15 Feb 2016 08:04:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVIpZ-0001Lx-Bf for guix-devel@gnu.org; Mon, 15 Feb 2016 08:04:46 -0500 Received: from mail-yw0-x22d.google.com ([2607:f8b0:4002:c05::22d]:35423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVIpZ-0001Ls-5Z for guix-devel@gnu.org; Mon, 15 Feb 2016 08:04:45 -0500 Received: by mail-yw0-x22d.google.com with SMTP id g127so113668779ywf.2 for ; Mon, 15 Feb 2016 05:04:44 -0800 (PST) In-Reply-To: <871t8ez7g6.fsf@igalia.com> 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: Andy Wingo Cc: guix-devel On Mon, Feb 15, 2016 at 3:47 AM, Andy Wingo wrote: > 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? Because this is what our Guile package already did. I just changed "2.0" to "2.2". > Probably need to update the pointer into lib to use 2.2, also. Yeah, that was a typo I've since fixed locally. - Dave