From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: Re: Emacs not seeing newer packages after pull Date: Tue, 31 Mar 2020 20:25:02 +0200 Message-ID: References: <20200331044752.GJ6131@sax.terramar.selidor.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59238) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJLZT-0008SC-TP for help-guix@gnu.org; Tue, 31 Mar 2020 14:25:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJLZS-0002lw-PM for help-guix@gnu.org; Tue, 31 Mar 2020 14:25:07 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:46083) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJLZR-0002lP-R1 for help-guix@gnu.org; Tue, 31 Mar 2020 14:25:06 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Ivan Vilata i Balaguer , help-guix@gnu.org Konrad Hinsen writes: > No, and yes. Meaning that I most definitely didn't expect it, but I > confirm your observations. And I am running Guix System, so it's not > related to your Guix-under-Debian installation. I did some experiments in the Guix REPL created by emacs-guix, but I don't understand what's happening. Here I am exploring emacs-caps-lock, a package that I got with today's pull: scheme@(emacs-guix)> (%search-load-path "gnu/packages/emacs-xyz") $4 = "/home/hinsen/.config/guix/current/share/guile/site/3.0/gnu/packages/emacs-xyz.scm" Looks OK. Let's look at the module and its filename: scheme@(emacs-guix)> (resolve-module '(gnu packages emacs-xyz)) $5 = # scheme@(emacs-guix)> (module-filename (resolve-module '(gnu packages emacs-xyz))) $6 = "gnu/packages/emacs-xyz.scm" A relative filename, but relative to what? Why isn't this an absolute one? As for the package: scheme@(emacs-guix)> (module-variable (resolve-module '(gnu packages emacs-xyz)) 'emacs-caps-lock) $7 = #f It's not in there (but it is in the source code). And now for the real surprise: scheme@(emacs-guix)> (reload-module (resolve-module '(gnu packages emacs-xyz))) $8 = # scheme@(emacs-guix)> (module-filename (resolve-module '(gnu packages emacs-xyz))) $9 = "/home/hinsen/.config/guix/current/share/guile/site/3.0/gnu/packages/emacs-xyz.scm" scheme@(emacs-guix)> (module-variable (resolve-module '(gnu packages emacs-xyz)) 'emacs-caps-lock) $10 = #> What the heck has Guile been loading the first time??? Cheers, Konrad