Hi roble,

roble <[email protected]> writes:

> Hello, I'm trying to run the Guix package manager on a foreign distro,
> Ubuntu 24.04.2 LTS.
>
> I installed guix via the script mentioned in
> https://guix.gnu.org/manual/en/html_node/Installation.html
>
> It seems like the installation is working... although... I feel like
> it's outdated and I can't seem to update it.
>
> Here's the error I'm seeing.
>
>  > $ guix home container ~/guix-config/home.scm
>  > guix home: error: failed to load '~/guix-config/home.scm':
>  > ice-9/boot-9.scm:3330:6: In procedure resolve-interface:
>  > no code for module (gnu home services dotfiles)
>
> This is what --version says.
>
>  > $ guix --version
>  > guix (GNU Guix) 8e2f32cee982d42a79e53fc1e9aa7b8ff0514714
>  > Copyright (C) 2022 the Guix authors
>  > License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
>  > This is free software: you are free to change and redistribute it.
>  > There is NO WARRANTY, to the extent permitted by law.
>

So, what does `type -p guix` say? It should say
~/.config/guix/current/bin/guix. If not, that is why you are getting
outdated guix. As a workaround, use the path directly. As for more
permanent solution, that depends on where the guix you are actually
using comes from.

> Here's what pull says.
>
>  > $ guix pull
>  > Updating channel 'guix' from Git repository at 
> 'https://git.savannah.gnu.org/git/guix.git'...
>  > Building from this channel:
>  >   guix      https://git.savannah.gnu.org/git/guix.git      8e2f32c
>  > Computing Guix derivation for 'x86_64-linux'...
>  > nothing to be done
>  >
>  > hint: After setting `PATH', run `hash guix' to make sure your shell 
> refers to
>  > `/home/me/.config/guix/current/bin/guix'.
>
> I rebooted my machine after guix pull.
>
> Another thing that makes me think my guix is out of date is that `guix
> search go` shows 1.24.3 is available on my GuixSD machine, but when I
> run that command on Ubuntu, it only shows Go 1.19.1.
>
> My ~/.profile on Ubuntu contains this.
>
>  > $ cat ~/.profile
>  > HOME_ENVIRONMENT=$HOME/.guix-home
>  > . $HOME_ENVIRONMENT/setup-environment
>  > $HOME_ENVIRONMENT/on-first-login
>
> And my $PATH on Ubuntu is this.
>
>  > $ echo $PATH
>  > 
> /gnu/store/gpr0c9ravibfagir1hp90akgjis3l6m2-profile/bin:/home/me/.guix-home/profile/bin:/home/me/.config/guix/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
>
> What am I missing?

Rutherther

Reply via email to