help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs not seeing newer packages after pull


From: Ivan Vilata i Balaguer
Subject: Re: Emacs not seeing newer packages after pull
Date: Mon, 6 Apr 2020 20:44:49 -0400

Konrad Hinsen (2020-04-02 09:20:58 +0200) wrote:

> Hi Ivan,
> 
> […] Interesting. That looks very different for me on Guix System! But then,
> I don't have "guix" in my profile. Not sure it's a good idea.
> 
> > If I run `guix package -s guix`, the version of the `guix` package (which I
> > assume is the same that I got after the last `guix pull`, but I may be 
> > wrong)
> > is `1.0.1-15…`.
> 
> If you have "guix" in your profile, you'd have to update your profile
> after a pull to run the latest version.
> 
> > Maybe I should just `guix package -u` this time and check if the problem
> > repeats with the next pull…
> 
> That sounds like a good experiment to do.

So I did `guix package -u` and `emacs-guix` continued to show the list of
packages and references to package definitions from the previous pull.  I then
confirmed that definitions belonged to the `guix` package *in my profile*
while, for instance, `guix package -s whatever` showed references to files *in
my pulled Guix*.

Anyway, that kinda confirmed what a bad idea keeping `guix` in my profile was
(it landed there in some of my first generations).  So I removed it, pulled
and upgraded packages again.

However (as I had tested before), `emacs-guix` now shows a lot of "unknown"
pink packages in my installed list.  Some of the few green ones can't be
opened because of unbound variables, others can be opened but have empty
descriptions with just a link to their store directory… but some do have
descriptions and a valid reference (absolute path) to their definition and, lo
and behold, the files are under my pulled Guix.  Yay!  However, `guix-pull` in
Emacs still fails with a bunch of "incompatible bytecode kind" errors then
"guix: pull: command not found".

So I guess the proper way to go now is to report why `emacs-guix` on a foreign
distro doesn't really work.  I'll look at the archives and open a new thread
if needed.

Thanks anyway Konrad for your help!

-- 
Ivan Vilata i Balaguer -- https://elvil.net/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]